type
BulkOptions
BulkOptions controls the actor and localization of an atomic batch or empty-trash operation. Bulk actions do not consume per-document revisions, population, draft status, or caller IDs.
Properties
| Property | Type | Description |
|---|---|---|
Actor | *store.Document | The Actor value. |
ActorCollection | schema.CollectionSlug | The ActorCollection value. |
System | bool | System skips access rules for trusted server code; see MutationOptions.System. |
Locale | schema.LocaleCode | The Locale value. |
FallbackLocales | []schema.LocaleCode | The FallbackLocales value. |
DisableFallback | bool | The DisableFallback value. |
AllLocales | bool | The AllLocales value. |
Full signature
type BulkOptions struct {
Actor *store.Document
ActorCollection schema.CollectionSlug
// System skips access rules for trusted server code; see MutationOptions.System.
System bool
Locale schema.LocaleCode
FallbackLocales []schema.LocaleCode
DisableFallback bool
AllLocales bool
}