Skip to content

UpdateConfig

type UpdateConfig<Schema> = BaseConfig & object;

Configuration for the Update command.

key: Partial<EntitySchema<Schema>>;
optional returnItemCollectionMetrics: ReturnItemCollectionMetrics;
optional returnValues: ReturnValue;
update: UpdateValues;

Schema extends ZodObject

The Zod schema defining the structure of the entity.