Documentation

GenerationPolicy
in package

GenerationPolicy

GenerationPolicy determines how to handle record writes based on record generation.

Table of Contents

Methods

ExpectGenEqual()  : GenerationPolicy
ExpectGenEqual means: Update/delete record if expected generation is equal to server generation. Otherwise, fail.
ExpectGenGreater()  : GenerationPolicy
ExpectGenGreater means: Update/delete record if expected generation greater than the server generation. Otherwise, fail. This is useful for restore after backup.
None()  : GenerationPolicy
None means: Do not use record generation to restrict writes.

Methods


        
On this page

Search results