@mikro-orm/knex 6.0.0-dev.135 → 6.0.0-dev.136
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
CHANGED
|
@@ -420,7 +420,7 @@ class AbstractSqlDriver extends core_1.DatabaseDriver {
|
|
|
420
420
|
if (options.onConflictAction === 'ignore') {
|
|
421
421
|
qb.ignore();
|
|
422
422
|
}
|
|
423
|
-
return qb.execute('run', false);
|
|
423
|
+
return this.rethrow(qb.execute('run', false));
|
|
424
424
|
}
|
|
425
425
|
const collections = options.processCollections ? data.map(d => this.extractManyToMany(entityName, d)) : [];
|
|
426
426
|
const keys = new Set();
|
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.136",
|
|
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.9.2"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@mikro-orm/core": "6.0.0-dev.
|
|
69
|
+
"@mikro-orm/core": "6.0.0-dev.136"
|
|
70
70
|
}
|
|
71
71
|
}
|
package/query/CriteriaNode.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export declare class CriteriaNode<T extends object> implements ICriteriaNode<T>
|
|
|
24
24
|
getPath(addIndex?: boolean): string;
|
|
25
25
|
private isPivotJoin;
|
|
26
26
|
getPivotPath(path: string): string;
|
|
27
|
+
/** @ignore */
|
|
27
28
|
[inspect.custom](): string;
|
|
28
29
|
static isCustomExpression(field: string): boolean;
|
|
29
30
|
}
|
package/query/CriteriaNode.js
CHANGED
package/query/QueryBuilder.d.ts
CHANGED
|
@@ -237,6 +237,7 @@ export declare class QueryBuilder<T extends object = AnyEntity> {
|
|
|
237
237
|
private createQueryBuilderHelper;
|
|
238
238
|
private ensureFromClause;
|
|
239
239
|
private ensureNotFinalized;
|
|
240
|
+
/** @ignore */
|
|
240
241
|
[inspect.custom](depth: number): string;
|
|
241
242
|
}
|
|
242
243
|
export interface RunQueryBuilder<T extends object> extends Omit<QueryBuilder<T>, 'getResult' | 'getSingleResult' | 'getResultList' | 'where'> {
|
package/query/QueryBuilder.js
CHANGED