Method
updateMany
(
entityName: EntityName<T>,
where: FilterQuery<T>,
data: Partial<T>,
ctx?: Transaction<ClientSession>,
upsert?: boolean,
upsertOptions?: UpsertOptions<T>,
signal?: AbortSignal,
)
Source from the content-addressed store, hash-verified
| 295 | } |
| 296 | |
| 297 | async updateMany<T extends object>( |
| 298 | entityName: EntityName<T>, |
| 299 | where: FilterQuery<T>, |
| 300 | data: Partial<T>, |
| 301 | ctx?: Transaction<ClientSession>, |
| 302 | upsert?: boolean, |
| 303 | upsertOptions?: UpsertOptions<T>, |
| 304 | signal?: AbortSignal, |
| 305 | ): Promise<QueryResult<T>> { |
| 306 | return this.runQuery<T>('updateMany', entityName, data, where, ctx, { upsert, upsertOptions, signal }); |
| 307 | } |
| 308 | |
| 309 | async bulkUpdateMany<T extends object>( |
| 310 | entityName: EntityName<T>, |