Optional
autoGenerateArrayKeys?: booleanAutomatically add _key
to array items.
Helps prevent race conditions in real-time editing.
Optional
dryRun?: booleanSimulate the mutation without making changes
Optional
returnDocuments?: booleanWhether to return the affected documents
Optional
returnFirst?: booleanWhether to return only the first affected document
Optional
skipCrossDatasetReferenceValidation?: booleanSkip validation of cross dataset references
Optional
transactionId?: stringCustom transaction ID for the mutation
Optional
visibility?: "sync" | "async" | "deferred"When to make changes visible:
Base options for mutations like create, update, delete, etc. Controls how mutations are executed and what data is returned.