How to handle writes when the record already exists.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 3.0.0.0 (3.0.0)
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
UPDATE | 0 | Update record. | |
EXPECT_GEN_EQUAL | 1 | Update/delete record if expected generation is equal to server generation. Otherwise, fail. | |
EXPECT_GEN_GT | 2 | Update/delete record if expected generation greater than the server generation. Otherwise, fail. This is useful for restore after backup. | |
FAIL | 3 | Fail if record exists. |
See Also