@mikro-orm/sql 7.0.8-dev.8 → 7.0.9-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -279,6 +279,9 @@ export class AbstractSqlDriver extends DatabaseDriver {
279
279
  if (parentAlias) {
280
280
  // Rename columns from this parent table
281
281
  for (const prop of parentMeta.ownProps) {
282
+ if (!prop.fieldNames) {
283
+ continue;
284
+ }
282
285
  for (const fieldName of prop.fieldNames) {
283
286
  const aliasedKey = `${parentAlias}__${fieldName}`;
284
287
  if (aliasedKey in result) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/sql",
3
- "version": "7.0.8-dev.8",
3
+ "version": "7.0.9-dev.0",
4
4
  "description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
5
5
  "keywords": [
6
6
  "data-mapper",
@@ -50,10 +50,10 @@
50
50
  "kysely": "0.28.15"
51
51
  },
52
52
  "devDependencies": {
53
- "@mikro-orm/core": "^7.0.7"
53
+ "@mikro-orm/core": "^7.0.8"
54
54
  },
55
55
  "peerDependencies": {
56
- "@mikro-orm/core": "7.0.8-dev.8"
56
+ "@mikro-orm/core": "7.0.9-dev.0"
57
57
  },
58
58
  "engines": {
59
59
  "node": ">= 22.17.0"