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

Method update

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

Source from the content-addressed store, hash-verified

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;
268 count(field?: string | string[], distinct?: boolean): this;

Callers 15

runQueryMethod · 0.65
nativeUpdateFunction · 0.65
syncCollectionsFunction · 0.65
getQueryBaseMethod · 0.65
updateVersionPropertyMethod · 0.65
initORMOracleDbFunction · 0.65
initORMSqliteFunction · 0.65

Implementers 1

QueryBuilderpackages/sql/src/query/QueryBuilder.ts

Calls

no outgoing calls

Tested by 1

createAndRunMigrationFunction · 0.52