Skip to content

PatchEntityValues

PatchEntityValues<S> = { readonly [K in keyof ColumnsOf<S>]?: ColumnInput<ColumnsOf<S>[K]["type"]> }

Defined in: src/schema/schema.ts:246

What a patch writes for schema S: any subset of its columns. Defaults do not apply — a patch changes only what it names — and a column given as undefined is left alone, as a create leaves it out.

S extends Schema