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

Interface: MutationOptions

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

Properties

PropertyModifierTypeDescriptionDefined in
onComplete?readonly() => void-packages/common/src/Evolu/Schema.ts:247
onlyValidate?readonlybooleanOnly validate, don't mutate. For example, onChange handler can call insert/update/upsert with onlyValidate: true.packages/common/src/Evolu/Schema.ts:254
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:261

Was this page helpful?