@mikro-orm/knex 6.4.6-dev.9 → 7.0.0-dev.0
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/AbstractSqlConnection.d.ts +15 -25
- package/AbstractSqlConnection.js +98 -126
- package/AbstractSqlDriver.d.ts +20 -13
- package/AbstractSqlDriver.js +73 -54
- package/AbstractSqlPlatform.d.ts +15 -3
- package/AbstractSqlPlatform.js +32 -11
- package/README.md +0 -2
- package/SqlEntityManager.d.ts +5 -6
- package/SqlEntityManager.js +5 -5
- package/SqlEntityRepository.d.ts +1 -6
- package/SqlEntityRepository.js +0 -6
- package/dialects/mssql/MsSqlNativeQueryBuilder.d.ts +12 -0
- package/dialects/mssql/MsSqlNativeQueryBuilder.js +161 -0
- package/dialects/mssql/index.d.ts +1 -1
- package/dialects/mssql/index.js +1 -1
- package/dialects/mysql/MySqlExceptionConverter.js +1 -0
- package/dialects/mysql/MySqlNativeQueryBuilder.d.ts +7 -0
- package/dialects/mysql/MySqlNativeQueryBuilder.js +81 -0
- package/dialects/mysql/MySqlPlatform.d.ts +5 -1
- package/dialects/mysql/MySqlPlatform.js +9 -1
- package/dialects/mysql/MySqlSchemaHelper.d.ts +6 -12
- package/dialects/mysql/MySqlSchemaHelper.js +42 -75
- package/dialects/mysql/index.d.ts +1 -3
- package/dialects/mysql/index.js +1 -3
- package/dialects/postgresql/PostgreSqlNativeQueryBuilder.d.ts +5 -0
- package/dialects/postgresql/PostgreSqlNativeQueryBuilder.js +12 -0
- package/dialects/postgresql/index.d.ts +1 -1
- package/dialects/postgresql/index.js +1 -1
- package/dialects/sqlite/BaseSqliteConnection.d.ts +0 -5
- package/dialects/sqlite/BaseSqliteConnection.js +4 -42
- package/dialects/sqlite/BaseSqlitePlatform.d.ts +15 -3
- package/dialects/sqlite/BaseSqlitePlatform.js +20 -4
- package/dialects/sqlite/SqliteExceptionConverter.d.ts +9 -0
- package/dialects/sqlite/SqliteExceptionConverter.js +55 -0
- package/dialects/sqlite/SqliteNativeQueryBuilder.d.ts +6 -0
- package/dialects/sqlite/SqliteNativeQueryBuilder.js +15 -0
- package/dialects/sqlite/SqliteSchemaHelper.d.ts +38 -0
- package/dialects/sqlite/SqliteSchemaHelper.js +384 -0
- package/dialects/sqlite/index.d.ts +3 -5
- package/dialects/sqlite/index.js +3 -5
- package/index.d.ts +1 -2
- package/index.js +3 -5
- package/index.mjs +10 -13
- package/package.json +4 -18
- package/query/CriteriaNodeFactory.js +5 -5
- package/query/NativeQueryBuilder.d.ts +108 -0
- package/query/NativeQueryBuilder.js +429 -0
- package/query/ObjectCriteriaNode.js +3 -3
- package/query/QueryBuilder.d.ts +30 -34
- package/query/QueryBuilder.js +112 -123
- package/query/QueryBuilderHelper.d.ts +27 -23
- package/query/QueryBuilderHelper.js +174 -168
- package/query/ScalarCriteriaNode.js +4 -0
- package/query/index.d.ts +1 -0
- package/query/index.js +1 -0
- package/schema/DatabaseSchema.js +9 -6
- package/schema/DatabaseTable.d.ts +2 -1
- package/schema/DatabaseTable.js +9 -5
- package/schema/SchemaComparator.d.ts +1 -2
- package/schema/SchemaComparator.js +31 -18
- package/schema/SchemaHelper.d.ts +27 -33
- package/schema/SchemaHelper.js +294 -184
- package/schema/SqlSchemaGenerator.d.ts +3 -9
- package/schema/SqlSchemaGenerator.js +105 -229
- package/typings.d.ts +7 -17
- package/MonkeyPatchable.d.ts +0 -18
- package/MonkeyPatchable.js +0 -60
- package/dialects/mssql/MsSqlColumnCompiler.d.ts +0 -4
- package/dialects/mssql/MsSqlColumnCompiler.js +0 -10
- package/dialects/mssql/MsSqlKnexDialect.d.ts +0 -6
- package/dialects/mssql/MsSqlKnexDialect.js +0 -22
- package/dialects/mssql/MsSqlQueryCompiler.d.ts +0 -12
- package/dialects/mssql/MsSqlQueryCompiler.js +0 -94
- package/dialects/mssql/MsSqlTableCompiler.d.ts +0 -9
- package/dialects/mssql/MsSqlTableCompiler.js +0 -40
- package/dialects/mysql/MariaDbKnexDialect.d.ts +0 -6
- package/dialects/mysql/MariaDbKnexDialect.js +0 -16
- package/dialects/mysql/MySqlColumnCompiler.d.ts +0 -7
- package/dialects/mysql/MySqlColumnCompiler.js +0 -26
- package/dialects/mysql/MySqlConnection.d.ts +0 -8
- package/dialects/mysql/MySqlConnection.js +0 -43
- package/dialects/mysql/MySqlKnexDialect.d.ts +0 -5
- package/dialects/mysql/MySqlKnexDialect.js +0 -17
- package/dialects/mysql/MySqlQueryCompiler.d.ts +0 -5
- package/dialects/mysql/MySqlQueryCompiler.js +0 -23
- package/dialects/postgresql/PostgreSqlKnexDialect.d.ts +0 -7
- package/dialects/postgresql/PostgreSqlKnexDialect.js +0 -20
- package/dialects/postgresql/PostgreSqlQueryCompiler.d.ts +0 -4
- package/dialects/postgresql/PostgreSqlQueryCompiler.js +0 -13
- package/dialects/postgresql/PostgreSqlTableCompiler.d.ts +0 -11
- package/dialects/postgresql/PostgreSqlTableCompiler.js +0 -89
- package/dialects/sqlite/BaseSqliteSchemaHelper.d.ts +0 -28
- package/dialects/sqlite/BaseSqliteSchemaHelper.js +0 -200
- package/dialects/sqlite/BetterSqliteKnexDialect.d.ts +0 -5
- package/dialects/sqlite/BetterSqliteKnexDialect.js +0 -15
- package/dialects/sqlite/LibSqlKnexDialect.d.ts +0 -11
- package/dialects/sqlite/LibSqlKnexDialect.js +0 -85
- package/dialects/sqlite/SqliteKnexDialect.d.ts +0 -8
- package/dialects/sqlite/SqliteKnexDialect.js +0 -67
- package/dialects/sqlite/SqliteTableCompiler.d.ts +0 -6
- package/dialects/sqlite/SqliteTableCompiler.js +0 -71
package/query/QueryBuilder.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { inspect } from 'node:util';
|
|
2
|
-
import type
|
|
3
|
-
import { type AnyEntity, type ConnectionType, type Dictionary, type EntityData, type EntityKey, type EntityMetadata, type EntityName, type EntityProperty, type ExpandProperty, type FlushMode, type GroupOperator, type Loaded, LockMode, type LoggingOptions, type MetadataStorage, type ObjectQuery, PopulateHint, type PopulateOptions, type QBFilterQuery, type QBQueryOrderMap, QueryFlag, type QueryOrderMap, type QueryResult, RawQueryFragment, type RequiredEntityData } from '@mikro-orm/core';
|
|
2
|
+
import { type AnyEntity, type ConnectionType, type Dictionary, type EntityData, type EntityKey, type EntityMetadata, type EntityName, type EntityProperty, type ExpandProperty, type FlushMode, type GroupOperator, type Loaded, LockMode, type LoggingOptions, type MetadataStorage, type ObjectQuery, PopulateHint, type PopulateOptions, type QBFilterQuery, type QBQueryOrderMap, QueryFlag, type QueryOrderMap, type QueryResult, RawQueryFragment, type RequiredEntityData, type Transaction } from '@mikro-orm/core';
|
|
4
3
|
import { JoinType, QueryType } from './enums';
|
|
5
4
|
import type { AbstractSqlDriver } from '../AbstractSqlDriver';
|
|
6
|
-
import { type Alias, QueryBuilderHelper } from './QueryBuilderHelper';
|
|
5
|
+
import { type Alias, type OnConflictClause, QueryBuilderHelper } from './QueryBuilderHelper';
|
|
7
6
|
import type { SqlEntityManager } from '../SqlEntityManager';
|
|
8
7
|
import type { Field, ICriteriaNodeProcessOptions, JoinOptions } from '../typings';
|
|
9
8
|
import type { AbstractSqlPlatform } from '../AbstractSqlPlatform';
|
|
9
|
+
import { NativeQueryBuilder } from './NativeQueryBuilder';
|
|
10
10
|
export interface ExecuteOptions {
|
|
11
11
|
mapResults?: boolean;
|
|
12
12
|
mergeResults?: boolean;
|
|
@@ -30,7 +30,6 @@ export type ModifyContext<Entity extends object, Context, Field extends string,
|
|
|
30
30
|
type EntityRelations<T> = EntityKey<T, true>;
|
|
31
31
|
type AddAliasesFromContext<Context> = Context[keyof Context] extends infer Join ? Join extends any ? Join extends [string, infer Alias, infer Type, any] ? `${Alias & string}.${EntityRelations<Type & {}>}` : never : never : never;
|
|
32
32
|
export type QBField<Entity, RootAlias extends string, Context> = (EntityRelations<Entity> | `${RootAlias}.${EntityRelations<Entity>}` | AddAliasesFromContext<Context>) & {} | AnyString;
|
|
33
|
-
export type QBField2<Entity, RootAlias extends string, Context> = (EntityKey<Entity> | `${RootAlias}.${EntityKey<Entity>}` | AddAliasesFromContext<Context>) & {} | AnyString;
|
|
34
33
|
type EntityKeyOrString<Entity extends object = AnyEntity> = AnyString | keyof Entity;
|
|
35
34
|
/**
|
|
36
35
|
* SQL query builder with fluent interface.
|
|
@@ -54,15 +53,16 @@ type EntityKeyOrString<Entity extends object = AnyEntity> = AnyString | keyof En
|
|
|
54
53
|
export declare class QueryBuilder<Entity extends object = AnyEntity, RootAlias extends string = never, Hint extends string = never, Context extends object = never> {
|
|
55
54
|
protected readonly metadata: MetadataStorage;
|
|
56
55
|
protected readonly driver: AbstractSqlDriver;
|
|
57
|
-
protected readonly context?:
|
|
56
|
+
protected readonly context?: Transaction | undefined;
|
|
58
57
|
protected connectionType?: ConnectionType | undefined;
|
|
59
58
|
protected em?: SqlEntityManager | undefined;
|
|
60
59
|
protected loggerContext?: (LoggingOptions & Dictionary) | undefined;
|
|
61
60
|
get mainAlias(): Alias<Entity>;
|
|
62
61
|
get alias(): string;
|
|
63
62
|
get helper(): QueryBuilderHelper;
|
|
63
|
+
get type(): QueryType;
|
|
64
64
|
/** @internal */
|
|
65
|
-
|
|
65
|
+
_type?: QueryType;
|
|
66
66
|
/** @internal */
|
|
67
67
|
_fields?: Field<Entity>[];
|
|
68
68
|
/** @internal */
|
|
@@ -90,12 +90,7 @@ export declare class QueryBuilder<Entity extends object = AnyEntity, RootAlias e
|
|
|
90
90
|
protected _groupBy: Field<Entity>[];
|
|
91
91
|
protected _having: Dictionary;
|
|
92
92
|
protected _returning?: Field<Entity>[];
|
|
93
|
-
protected _onConflict?:
|
|
94
|
-
fields: string[] | RawQueryFragment;
|
|
95
|
-
ignore?: boolean;
|
|
96
|
-
merge?: EntityData<Entity> | Field<Entity>[];
|
|
97
|
-
where?: QBFilterQuery<Entity>;
|
|
98
|
-
}[];
|
|
93
|
+
protected _onConflict?: OnConflictClause<Entity>[];
|
|
99
94
|
protected _limit?: number;
|
|
100
95
|
protected _offset?: number;
|
|
101
96
|
protected _distinctOn?: string[];
|
|
@@ -113,16 +108,14 @@ export declare class QueryBuilder<Entity extends object = AnyEntity, RootAlias e
|
|
|
113
108
|
protected _helper?: QueryBuilderHelper;
|
|
114
109
|
protected _query?: {
|
|
115
110
|
sql?: string;
|
|
116
|
-
_sql?: Knex.Sql;
|
|
117
111
|
params?: readonly unknown[];
|
|
118
|
-
qb:
|
|
112
|
+
qb: NativeQueryBuilder;
|
|
119
113
|
};
|
|
120
114
|
protected readonly platform: AbstractSqlPlatform;
|
|
121
|
-
protected readonly knex: Knex;
|
|
122
115
|
/**
|
|
123
116
|
* @internal
|
|
124
117
|
*/
|
|
125
|
-
constructor(entityName: EntityName<Entity> | QueryBuilder<Entity, any, any>, metadata: MetadataStorage, driver: AbstractSqlDriver, context?:
|
|
118
|
+
constructor(entityName: EntityName<Entity> | QueryBuilder<Entity, any, any>, metadata: MetadataStorage, driver: AbstractSqlDriver, context?: Transaction | undefined, alias?: string, connectionType?: ConnectionType | undefined, em?: SqlEntityManager | undefined, loggerContext?: (LoggingOptions & Dictionary) | undefined);
|
|
126
119
|
select(fields: Field<Entity> | Field<Entity>[], distinct?: boolean): SelectQueryBuilder<Entity, RootAlias, Hint, Context>;
|
|
127
120
|
addSelect(fields: Field<Entity> | Field<Entity>[]): SelectQueryBuilder<Entity, RootAlias, Hint, Context>;
|
|
128
121
|
distinct(): SelectQueryBuilder<Entity, RootAlias, Hint, Context>;
|
|
@@ -133,22 +126,22 @@ export declare class QueryBuilder<Entity extends object = AnyEntity, RootAlias e
|
|
|
133
126
|
delete(cond?: QBFilterQuery): DeleteQueryBuilder<Entity>;
|
|
134
127
|
truncate(): TruncateQueryBuilder<Entity>;
|
|
135
128
|
count(field?: EntityKeyOrString<Entity> | EntityKeyOrString<Entity>[], distinct?: boolean): CountQueryBuilder<Entity>;
|
|
136
|
-
join<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: Field |
|
|
137
|
-
innerJoin<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: Field |
|
|
138
|
-
innerJoinLateral(field:
|
|
139
|
-
leftJoin<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: Field |
|
|
140
|
-
leftJoinLateral(field:
|
|
141
|
-
joinAndSelect<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: Field | [field: Field, qb:
|
|
142
|
-
leftJoinAndSelect<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: Field | [field: Field, qb:
|
|
143
|
-
leftJoinLateralAndSelect<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: [field: Field, qb:
|
|
144
|
-
innerJoinAndSelect<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: Field | [field: Field, qb:
|
|
145
|
-
innerJoinLateralAndSelect<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: [field: Field, qb:
|
|
129
|
+
join<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: Field | RawQueryFragment | QueryBuilder<any>, alias: Alias, cond?: QBFilterQuery, type?: JoinType, path?: string, schema?: string): SelectQueryBuilder<Entity, RootAlias, ModifyHint<RootAlias, Context, Hint, Field> & {}, ModifyContext<Entity, Context, Field, Alias>>;
|
|
130
|
+
innerJoin<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: Field | RawQueryFragment | QueryBuilder<any>, alias: Alias, cond?: QBFilterQuery, schema?: string): SelectQueryBuilder<Entity, RootAlias, ModifyHint<RootAlias, Context, Hint, Field> & {}, ModifyContext<Entity, Context, Field, Alias>>;
|
|
131
|
+
innerJoinLateral(field: RawQueryFragment | QueryBuilder<any>, alias: string, cond: QBFilterQuery, schema?: string): this;
|
|
132
|
+
leftJoin<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: Field | RawQueryFragment | QueryBuilder<any>, alias: Alias, cond?: QBFilterQuery, schema?: string): SelectQueryBuilder<Entity, RootAlias, ModifyHint<RootAlias, Context, Hint, Field> & {}, ModifyContext<Entity, Context, Field, Alias>>;
|
|
133
|
+
leftJoinLateral(field: RawQueryFragment | QueryBuilder<any>, alias: string, cond: QBFilterQuery, schema?: string): this;
|
|
134
|
+
joinAndSelect<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: Field | [field: Field, qb: RawQueryFragment | QueryBuilder<any>], alias: Alias, cond?: QBFilterQuery, type?: JoinType, path?: string, fields?: string[], schema?: string): SelectQueryBuilder<Entity, RootAlias, ModifyHint<RootAlias, Context, Hint, Field, true> & {}, ModifyContext<Entity, Context, Field, Alias, true>>;
|
|
135
|
+
leftJoinAndSelect<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: Field | [field: Field, qb: RawQueryFragment | QueryBuilder<any>], alias: Alias, cond?: QBFilterQuery, fields?: string[], schema?: string): SelectQueryBuilder<Entity, RootAlias, ModifyHint<RootAlias, Context, Hint, Field, true> & {}, ModifyContext<Entity, Context, Field, Alias, true>>;
|
|
136
|
+
leftJoinLateralAndSelect<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: [field: Field, qb: RawQueryFragment | QueryBuilder<any>], alias: Alias, cond?: QBFilterQuery, fields?: string[], schema?: string): SelectQueryBuilder<Entity, RootAlias, ModifyHint<RootAlias, Context, Hint, Field, true> & {}, ModifyContext<Entity, Context, Field, Alias, true>>;
|
|
137
|
+
innerJoinAndSelect<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: Field | [field: Field, qb: RawQueryFragment | QueryBuilder<any>], alias: Alias, cond?: QBFilterQuery, fields?: string[], schema?: string): SelectQueryBuilder<Entity, RootAlias, ModifyHint<RootAlias, Context, Hint, Field, true> & {}, ModifyContext<Entity, Context, Field, Alias, true>>;
|
|
138
|
+
innerJoinLateralAndSelect<Field extends QBField<Entity, RootAlias, Context>, Alias extends string>(field: [field: Field, qb: RawQueryFragment | QueryBuilder<any>], alias: Alias, cond?: QBFilterQuery, fields?: string[], schema?: string): SelectQueryBuilder<Entity, RootAlias, ModifyHint<RootAlias, Context, Hint, Field, true> & {}, ModifyContext<Entity, Context, Field, Alias, true>>;
|
|
146
139
|
protected getFieldsForJoinedLoad(prop: EntityProperty<Entity>, alias: string, explicitFields?: string[]): Field<Entity>[];
|
|
147
140
|
/**
|
|
148
141
|
* Apply filters to the QB where condition.
|
|
149
142
|
*/
|
|
150
143
|
applyFilters(filterOptions?: Dictionary<boolean | Dictionary> | string[] | boolean): Promise<void>;
|
|
151
|
-
withSubQuery(subQuery:
|
|
144
|
+
withSubQuery(subQuery: RawQueryFragment | NativeQueryBuilder, alias: string): this;
|
|
152
145
|
where(cond: QBFilterQuery<Entity>, operator?: keyof typeof GroupOperator): this;
|
|
153
146
|
where(cond: string, params?: any[], operator?: keyof typeof GroupOperator): this;
|
|
154
147
|
andWhere(cond: QBFilterQuery<Entity>): this;
|
|
@@ -197,7 +190,7 @@ export declare class QueryBuilder<Entity extends object = AnyEntity, RootAlias e
|
|
|
197
190
|
*/
|
|
198
191
|
from<Entity extends AnyEntity<Entity> = AnyEntity>(target: QueryBuilder<Entity>, aliasName?: string): SelectQueryBuilder<Entity, RootAlias, Hint, Context>;
|
|
199
192
|
from<Entity extends AnyEntity<Entity> = AnyEntity>(target: EntityName<Entity>): SelectQueryBuilder<Entity, RootAlias, Hint, Context>;
|
|
200
|
-
|
|
193
|
+
getNativeQuery(processVirtualEntity?: boolean): NativeQueryBuilder;
|
|
201
194
|
/**
|
|
202
195
|
* @internal
|
|
203
196
|
*/
|
|
@@ -206,15 +199,18 @@ export declare class QueryBuilder<Entity extends object = AnyEntity, RootAlias e
|
|
|
206
199
|
* Returns the query with parameters as wildcards.
|
|
207
200
|
*/
|
|
208
201
|
getQuery(): string;
|
|
202
|
+
/**
|
|
203
|
+
* Returns raw fragment representation of this QueryBuilder.
|
|
204
|
+
*/
|
|
205
|
+
toRaw(): RawQueryFragment;
|
|
209
206
|
toQuery(): {
|
|
210
207
|
sql: string;
|
|
211
|
-
_sql: Knex.Sql;
|
|
212
208
|
params: readonly unknown[];
|
|
213
209
|
};
|
|
214
210
|
/**
|
|
215
211
|
* Returns the list of all parameters for this query.
|
|
216
212
|
*/
|
|
217
|
-
getParams(): readonly
|
|
213
|
+
getParams(): readonly unknown[];
|
|
218
214
|
/**
|
|
219
215
|
* Returns raw interpolated query string with all the parameters inlined.
|
|
220
216
|
*/
|
|
@@ -265,12 +261,11 @@ export declare class QueryBuilder<Entity extends object = AnyEntity, RootAlias e
|
|
|
265
261
|
*/
|
|
266
262
|
then<TResult1 = any, TResult2 = never>(onfulfilled?: ((value: any) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<Loaded<Entity, Hint>[] | number | QueryResult<Entity>>;
|
|
267
263
|
/**
|
|
268
|
-
* Returns
|
|
264
|
+
* Returns native query builder instance with sub-query aliased with given alias.
|
|
269
265
|
* You can provide `EntityName.propName` as alias, then the field name will be used based on the metadata
|
|
270
266
|
*/
|
|
271
|
-
as(alias: string):
|
|
267
|
+
as(alias: string): NativeQueryBuilder;
|
|
272
268
|
clone(reset?: boolean | string[]): QueryBuilder<Entity>;
|
|
273
|
-
getKnex(processVirtualEntity?: boolean): Knex.QueryBuilder;
|
|
274
269
|
/**
|
|
275
270
|
* Sets logger context for this query builder.
|
|
276
271
|
*/
|
|
@@ -281,7 +276,7 @@ export declare class QueryBuilder<Entity extends object = AnyEntity, RootAlias e
|
|
|
281
276
|
getLoggerContext<T extends Dictionary & LoggingOptions = Dictionary>(): T;
|
|
282
277
|
private fromVirtual;
|
|
283
278
|
private joinReference;
|
|
284
|
-
protected prepareFields<T
|
|
279
|
+
protected prepareFields<T>(fields: Field<T>[], type?: 'where' | 'groupBy' | 'sub-query'): (string | RawQueryFragment)[];
|
|
285
280
|
private init;
|
|
286
281
|
private getQueryBase;
|
|
287
282
|
private applyDiscriminatorCondition;
|
|
@@ -292,6 +287,7 @@ export declare class QueryBuilder<Entity extends object = AnyEntity, RootAlias e
|
|
|
292
287
|
private mergeOnConditions;
|
|
293
288
|
private hasToManyJoins;
|
|
294
289
|
protected wrapPaginateSubQuery(meta: EntityMetadata): void;
|
|
290
|
+
private pruneExtraJoins;
|
|
295
291
|
private wrapModifySubQuery;
|
|
296
292
|
private getSchema;
|
|
297
293
|
private createAlias;
|