Update/delete record if expected generation is equal to server generation. Otherwise, fail.
Update/delete record if expected generation greater than the server generation. Otherwise, fail. This is useful for restore after backup.
Do not use record generation to restrict writes.
The generation policy specifies how to handle record writes based on record generation.
Remarks
To use the
EQ
orGT
generation policy (see below), the generation value to use for the comparison needs to be specified in the metadata parameter (meta
) of the Client#put command.Example: Update record, only if generation matches