@mikro-orm/knex 6.0.0-dev.285 → 6.0.0-dev.286
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 +6 -3
- package/package.json +2 -2
package/AbstractSqlDriver.js
CHANGED
|
@@ -624,17 +624,20 @@ class AbstractSqlDriver extends core_1.DatabaseDriver {
|
|
|
624
624
|
const kqb = qb.delete({ [coll.property.mappedBy]: pks })
|
|
625
625
|
.getKnexQuery()
|
|
626
626
|
.whereNotIn(cols, insertDiff);
|
|
627
|
-
|
|
627
|
+
await this.rethrow(this.execute(kqb));
|
|
628
|
+
continue;
|
|
628
629
|
}
|
|
629
630
|
const kqb = qb.update({ [coll.property.mappedBy]: null })
|
|
630
631
|
.getKnexQuery()
|
|
631
632
|
.whereNotIn(cols, insertDiff);
|
|
632
|
-
|
|
633
|
+
await this.rethrow(this.execute(kqb));
|
|
634
|
+
continue;
|
|
633
635
|
}
|
|
634
636
|
const kqb = qb.update({ [coll.property.mappedBy]: pks })
|
|
635
637
|
.getKnexQuery()
|
|
636
638
|
.whereIn(cols, insertDiff);
|
|
637
|
-
|
|
639
|
+
await this.rethrow(this.execute(kqb));
|
|
640
|
+
continue;
|
|
638
641
|
}
|
|
639
642
|
/* istanbul ignore next */
|
|
640
643
|
const pivotMeta = this.metadata.find(coll.property.pivotEntity);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/knex",
|
|
3
|
-
"version": "6.0.0-dev.
|
|
3
|
+
"version": "6.0.0-dev.286",
|
|
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,6 +66,6 @@
|
|
|
66
66
|
"@mikro-orm/core": "^5.0.0"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@mikro-orm/core": "6.0.0-dev.
|
|
69
|
+
"@mikro-orm/core": "6.0.0-dev.286"
|
|
70
70
|
}
|
|
71
71
|
}
|