method
RiduClient.bulkUpdate
Update an explicit set of document IDs.
Arguments
| Argument | Type | Description |
|---|---|---|
collection | Slug | The collection value. |
ids | readonly string[] | The ids value. |
data | UpdateFor< | The data value. |
options | MutationLocaleOptions< | The options value. |
Returns
The declared result.
Promise<OutputFor<Config, Slug>[]>Full signature
RiduClient.bulkUpdate<Slug extends CollectionSlug<Config>>(
collection: Slug,
ids: readonly string[],
data: UpdateFor<Config, Slug>,
options?: MutationLocaleOptions<LocaleFor<Config>>,
): Promise<OutputFor<Config, Slug>[]>Related types
CollectionSlugThe generated union of collection slugs.
UpdateForResolve a collection update input type.
MutationLocaleOptionsLocale and transport options shared by mutations without an optimistic-concurrency contract.
OutputForResolve a collection document output type.