@mikro-orm/knex 6.4.3-dev.10 → 6.4.3-dev.12
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 +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/knex",
|
|
3
|
-
"version": "6.4.3-dev.
|
|
3
|
+
"version": "6.4.3-dev.12",
|
|
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.2"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@mikro-orm/core": "6.4.3-dev.
|
|
69
|
+
"@mikro-orm/core": "6.4.3-dev.12",
|
|
70
70
|
"better-sqlite3": "*",
|
|
71
71
|
"libsql": "*",
|
|
72
72
|
"mariadb": "*"
|
package/query/QueryBuilder.js
CHANGED
|
@@ -1252,7 +1252,7 @@ class QueryBuilder {
|
|
|
1252
1252
|
}
|
|
1253
1253
|
wrapPaginateSubQuery(meta) {
|
|
1254
1254
|
const pks = this.prepareFields(meta.primaryKeys, 'sub-query');
|
|
1255
|
-
const subQuery = this.clone(['_orderBy', '_fields']).select(pks).groupBy(pks).limit(this._limit);
|
|
1255
|
+
const subQuery = this.clone(['_orderBy', '_fields', 'lockMode', 'lockTableAliases']).select(pks).groupBy(pks).limit(this._limit);
|
|
1256
1256
|
// revert the on conditions added via populateWhere, we want to apply those only once
|
|
1257
1257
|
for (const join of Object.values(subQuery._joins)) {
|
|
1258
1258
|
if (join.cond_) {
|