(
entityName: EntityName<T>,
ctx?: Transaction,
preferredConnectionType?: ConnectionType,
convertCustomTypes?: boolean,
loggerContext?: LoggingOptions,
alias?: string,
em?: SqlEntityManager,
)
| 31 | } |
| 32 | |
| 33 | override createQueryBuilder<T extends AnyEntity<T>>( |
| 34 | entityName: EntityName<T>, |
| 35 | ctx?: Transaction, |
| 36 | preferredConnectionType?: ConnectionType, |
| 37 | convertCustomTypes?: boolean, |
| 38 | loggerContext?: LoggingOptions, |
| 39 | alias?: string, |
| 40 | em?: SqlEntityManager, |
| 41 | ): OracleQueryBuilder<T, any, any, any> { |
| 42 | // do not compute the connectionType if EM is provided as it will be computed from it in the QB later on |
| 43 | const connectionType = em |
| 44 | ? preferredConnectionType |
| 45 | : this.resolveConnectionType({ ctx, connectionType: preferredConnectionType }); |
| 46 | const qb = new OracleQueryBuilder<T, any, any, any>( |
| 47 | entityName, |
| 48 | this.metadata, |
| 49 | this, |
| 50 | ctx, |
| 51 | alias, |
| 52 | connectionType, |
| 53 | em, |
| 54 | loggerContext, |
| 55 | ); |
| 56 | |
| 57 | if (!convertCustomTypes) { |
| 58 | qb.unsetFlag(QueryFlag.CONVERT_CUSTOM_TYPES); |
| 59 | } |
| 60 | |
| 61 | return qb; |
| 62 | } |
| 63 | |
| 64 | override async nativeInsertMany<T extends object>( |
| 65 | entityName: EntityName<T>, |
no test coverage detected