kernl

Type Alias: DocumentPatch<TDocument>

type DocumentPatch<TDocument> = { [K in keyof TDocument]?: TDocument[K] | null } & {
  id: string;
};

Defined in: retrieval/src/handle.ts:39

Document patch - partial update with null to unset fields.

Requires id (or the configured pkey field). Other fields are optional and can be set to null to unset them.

Type Declaration

NameTypeDefined in
idstringretrieval/src/handle.ts:41

Type Parameters

Type Parameter
TDocument

On this page