MCPcopy
hub / github.com/directus/directus / updateMany

Method updateMany

api/src/services/revisions.ts:57–59  ·  view source on GitHub ↗
(keys: PrimaryKey[], data: Partial<Item>, opts?: MutationOptions)

Source from the content-addressed store, hash-verified

55 }
56
57 override async updateMany(keys: PrimaryKey[], data: Partial<Item>, opts?: MutationOptions): Promise<PrimaryKey[]> {
58 return super.updateMany(keys, data, this.setDefaultOptions(opts));
59 }
60
61 override async readByQuery(query: Query, opts?: QueryOptions) {
62 if (this.accountability === null) {

Callers 2

createOneMethod · 0.95
updateManyMethod · 0.95

Calls 2

setDefaultOptionsMethod · 0.95
updateManyMethod · 0.65

Tested by

no test coverage detected