@mikro-orm/knex 6.3.4-dev.5 → 6.3.4-dev.7

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/knex",
3
- "version": "6.3.4-dev.5",
3
+ "version": "6.3.4-dev.7",
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.3.3"
67
67
  },
68
68
  "peerDependencies": {
69
- "@mikro-orm/core": "6.3.4-dev.5",
69
+ "@mikro-orm/core": "6.3.4-dev.7",
70
70
  "better-sqlite3": "*",
71
71
  "libsql": "*",
72
72
  "mariadb": "*"
@@ -143,7 +143,7 @@ export declare class QueryBuilder<Entity extends object = AnyEntity, RootAlias e
143
143
  /**
144
144
  * Apply filters to the QB where condition.
145
145
  */
146
- applyFilters(filterOptions?: Dictionary<boolean | Dictionary> | string[] | boolean): Promise<this>;
146
+ applyFilters(filterOptions?: Dictionary<boolean | Dictionary> | string[] | boolean): Promise<void>;
147
147
  withSubQuery(subQuery: Knex.QueryBuilder, alias: string): this;
148
148
  where(cond: QBFilterQuery<Entity>, operator?: keyof typeof GroupOperator): this;
149
149
  where(cond: string, params?: any[], operator?: keyof typeof GroupOperator): this;
@@ -263,7 +263,6 @@ class QueryBuilder {
263
263
  }
264
264
  const cond = await this.em.applyFilters(this.mainAlias.entityName, {}, filterOptions, 'read');
265
265
  this.andWhere(cond);
266
- return this;
267
266
  }
268
267
  withSubQuery(subQuery, alias) {
269
268
  this.ensureNotFinalized();