Skip to content

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.

S extends Schema<Record<string, AnyTable>>

TCtx

TArgs = unknown

readonly optional args?: StandardSchemaV1<unknown, TArgs>

Defined in: core/src/mutators.ts:81


readonly run: MutatorFn<S, TCtx, TArgs>

Defined in: core/src/mutators.ts:82