Interface: MutatorObject<S, TCtx, TArgs>
Interface: MutatorObject<S, TCtx, TArgs>
Section titled “Interface: MutatorObject<S, TCtx, TArgs>”Defined in: core/src/mutators.ts:80
Object-form mutator with an optional Standard-Schema-compatible args
validator. Prefer this shape whenever mutation payloads cross the wire
(i.e. always in real apps) — the extra runtime check catches bad clients
and stale mobile builds before they touch the SQL engine.
Type Parameters
Section titled “Type Parameters”S extends Schema<Record<string, AnyTable>>
TCtx
TArgs = unknown
Properties
Section titled “Properties”
readonlyoptionalargs?:StandardSchemaV1<unknown,TArgs>
Defined in: core/src/mutators.ts:81
readonlyrun:MutatorFn<S,TCtx,TArgs>
Defined in: core/src/mutators.ts:82