Skip to content

ConditionalUpdateConfig

type ConditionalUpdateConfig<Schema> = UpdateConfig<Schema> & object;

Configuration for the ConditionalUpdate command.

condition: Condition;
optional returnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailure;

Schema extends ZodObject

The Zod schema defining the structure of the entity.