@mikro-orm/sql 7.0.10-dev.14 → 7.0.10-dev.15
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 +2 -2
- package/query/QueryBuilder.js +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/sql",
|
|
3
|
-
"version": "7.0.10-dev.
|
|
3
|
+
"version": "7.0.10-dev.15",
|
|
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",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@mikro-orm/core": "^7.0.9"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@mikro-orm/core": "7.0.10-dev.
|
|
56
|
+
"@mikro-orm/core": "7.0.10-dev.15"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">= 22.17.0"
|
package/query/QueryBuilder.js
CHANGED
|
@@ -1082,7 +1082,10 @@ export class QueryBuilder {
|
|
|
1082
1082
|
if (!map) {
|
|
1083
1083
|
return row;
|
|
1084
1084
|
}
|
|
1085
|
-
const entity = this.em.map(this.mainAlias.entityName, row, {
|
|
1085
|
+
const entity = this.em.map(this.mainAlias.entityName, row, {
|
|
1086
|
+
schema: this.#state.schema,
|
|
1087
|
+
mapped: true,
|
|
1088
|
+
});
|
|
1086
1089
|
this.propagatePopulateHint(entity, this.#state.populate);
|
|
1087
1090
|
return entity;
|
|
1088
1091
|
}
|