@mikro-orm/knex 6.4.15-dev.3 → 6.4.15-dev.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/knex",
3
- "version": "6.4.15-dev.3",
3
+ "version": "6.4.15-dev.5",
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
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -66,7 +66,7 @@
66
66
  "@mikro-orm/core": "^6.4.14"
67
67
  },
68
68
  "peerDependencies": {
69
- "@mikro-orm/core": "6.4.15-dev.3",
69
+ "@mikro-orm/core": "6.4.15-dev.5",
70
70
  "better-sqlite3": "*",
71
71
  "libsql": "*",
72
72
  "mariadb": "*"
@@ -1220,6 +1220,7 @@ class QueryBuilder {
1220
1220
  this._joins[aliasedName] = this.helper.joinOneToReference(prop, this.mainAlias.aliasName, alias, enums_1.JoinType.leftJoin);
1221
1221
  this._joins[aliasedName].path = `${(Object.values(this._joins).find(j => j.alias === fromAlias)?.path ?? meta.className)}.${prop.name}`;
1222
1222
  this._populateMap[aliasedName] = this._joins[aliasedName].alias;
1223
+ this.createAlias(prop.type, alias);
1223
1224
  }
1224
1225
  });
1225
1226
  this.processPopulateWhere(false);