API Reference / @evolu/common / Evolu/Internal / MutationOptions

Interface: MutationOptions

Defined in: packages/common/src/Evolu/Schema.ts:258

Properties

PropertyModifierTypeDescriptionDefined in
onComplete?readonly() => void-packages/common/src/Evolu/Schema.ts:259
onlyValidate?readonlybooleanOnly validate, don't mutate. For example, onChange handler can call insert/update/upsert with onlyValidate: true.packages/common/src/Evolu/Schema.ts:266
owner?readonly| ShardOwner | SharedOwnerThe owner to use for this mutation. Can be a ShardOwner for sharding app data or a SharedOwner for collaborative write access. If omitted, defaults to the app's AppOwner.packages/common/src/Evolu/Schema.ts:273

Was this page helpful?