@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.
@@ -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.135",
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.135"
69
+ "@mikro-orm/core": "6.0.0-dev.136"
70
70
  }
71
71
  }
@@ -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
  }
@@ -101,6 +101,7 @@ class CriteriaNode {
101
101
  getPivotPath(path) {
102
102
  return `${path}[pivot]`;
103
103
  }
104
+ /** @ignore */
104
105
  [util_1.inspect.custom]() {
105
106
  const o = {};
106
107
  ['entityName', 'key', 'index', 'payload']
@@ -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'> {
@@ -1141,6 +1141,7 @@ class QueryBuilder {
1141
1141
  }
1142
1142
  }
1143
1143
  /* istanbul ignore next */
1144
+ /** @ignore */
1144
1145
  [util_1.inspect.custom](depth) {
1145
1146
  const object = { ...this };
1146
1147
  const hidden = ['metadata', 'driver', 'context', 'platform', 'knex', 'type'];