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

Method ignore

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

Source from the content-addressed store, hash-verified

1932 }
1933
1934 ignore(): this {
1935 if (!this.#state.onConflict) {
1936 throw new Error('You need to call `qb.onConflict()` first to use `qb.ignore()`');
1937 }
1938
1939 this.#state.onConflict[this.#state.onConflict.length - 1].ignore = true;
1940 return this;
1941 }
1942
1943 merge<const P extends string>(data: readonly NestedAutoPath<Entity, RootAlias, Context, P>[]): this;
1944 merge<F extends Field<Entity, RootAlias, Context>>(data?: EntityData<Entity> | F[]): this;

Callers 6

mergeMethod · 0.95
nativeUpdateFunction · 0.80
nativeUpdateManyFunction · 0.80
clone.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected