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

PropertyTypeDescription
Actor*store.DocumentThe Actor value.
ActorCollectionschema.CollectionSlugThe ActorCollection value.
SystemboolSystem skips access rules for trusted server code; see MutationOptions.System.
Localeschema.LocaleCodeThe Locale value.
FallbackLocales[]schema.LocaleCodeThe FallbackLocales value.
DisableFallbackboolThe DisableFallback value.
AllLocalesboolThe 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 }

Source core/local.go:185