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
| Name | Type | Defined in |
|---|---|---|
id | string | retrieval/src/handle.ts:41 |
Type Parameters
| Type Parameter |
|---|
TDocument |