@mikro-orm/sql 7.1.15-dev.14 → 7.1.15-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/AbstractSqlDriver.js +1 -1
- package/package.json +2 -2
package/AbstractSqlDriver.js
CHANGED
|
@@ -1067,7 +1067,7 @@ export class AbstractSqlDriver extends DatabaseDriver {
|
|
|
1067
1067
|
sql += `, `;
|
|
1068
1068
|
}
|
|
1069
1069
|
sql = sql.substring(0, sql.length - 2) + ' where ';
|
|
1070
|
-
const pkProps = meta.primaryKeys.concat(...meta.
|
|
1070
|
+
const pkProps = meta.primaryKeys.concat(...meta.getOwnConcurrencyCheckKeys());
|
|
1071
1071
|
const pks = Utils.flatten(pkProps.map(pk => meta.properties[pk].fieldNames));
|
|
1072
1072
|
const useTupleIn = pks.length <= 1 || this.platform.allowsComparingTuples();
|
|
1073
1073
|
const condTemplate = useTupleIn
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/sql",
|
|
3
|
-
"version": "7.1.15-dev.
|
|
3
|
+
"version": "7.1.15-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.1.14"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@mikro-orm/core": "7.1.15-dev.
|
|
56
|
+
"@mikro-orm/core": "7.1.15-dev.15"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">= 22.17.0"
|