MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / setAbortOptions

Method setAbortOptions

packages/sql/src/query/QueryBuilder.ts:2957–2959  ·  view source on GitHub ↗

* Configures cancellation behavior for this query builder. The signal is forwarded to the * underlying database client; see {@apilink AbortQueryOptions} for the available strategies.

(options: AbortQueryOptions | undefined)

Source from the content-addressed store, hash-verified

2955 * underlying database client; see {@apilink AbortQueryOptions} for the available strategies.
2956 */
2957 setAbortOptions(options: AbortQueryOptions | undefined): void {
2958 this.#abortOptions = options;
2959 }
2960
2961 private fromVirtual<T extends object>(meta: EntityMetadata<T>): string {
2962 if (typeof meta.expression === 'string') {

Callers 12

createQueryBuilderMethod · 0.80
countFunction · 0.80
nativeInsertFunction · 0.80
nativeCloneSimpleFunction · 0.80
nativeCloneTPTFunction · 0.80
nativeUpdateFunction · 0.80
nativeUpdateManyFunction · 0.80
nativeDeleteFunction · 0.80
syncCollectionsFunction · 0.80
lockPessimisticFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected