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

Method insert

packages/sql/src/typings.ts:264–264  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

262 addSelect(fields: string | string[]): this;
263 from<T extends object>(target: EntityName<T> | IQueryBuilder<T>, aliasName?: string): IQueryBuilder<T>;
264 insert(data: any): this;
265 update(data: any): this;
266 delete(cond?: FilterQuery<any>): this;
267 truncate(): this;

Callers 15

runQueryMethod · 0.65
nativeInsertFunction · 0.65
nativeUpdateFunction · 0.65
nativeUpdateManyFunction · 0.65
getQueryBaseMethod · 0.65
nativeInsertManyMethod · 0.65
insertMethod · 0.65
insertMethod · 0.65

Implementers 1

QueryBuilderpackages/sql/src/query/QueryBuilder.ts

Calls

no outgoing calls

Tested by

no test coverage detected