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

Method ensureNotFinalized

packages/sql/src/query/QueryBuilder.ts:4357–4361  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4355 }
4356
4357 private ensureNotFinalized(): void {
4358 if (this.#state.finalized) {
4359 throw new Error('This QueryBuilder instance is already finalized, clone it first if you want to modify it.');
4360 }
4361 }
4362
4363 /** @ignore */
4364 /* v8 ignore next */

Callers 15

selectMethod · 0.95
addSelectMethod · 0.95
distinctMethod · 0.95
distinctOnMethod · 0.95
insertFromMethod · 0.95
withSubQueryMethod · 0.95
whereMethod · 0.95
processOrderByMethod · 0.95
groupByMethod · 0.95
havingMethod · 0.95
onConflictMethod · 0.95
populateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected