RecordExistsAction Enumeration

Aerospike
How to handle writes when the record already exists.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public enum RecordExistsAction
Members

  Member nameValueDescription
UPDATE0 Create or update record. Merge write command bins with existing bins.
UPDATE_ONLY1 Update record only. Fail if record does not exist. Merge write command bins with existing bins.
REPLACE2 Create or update record. Delete existing bins not referenced by write command bins. Supported by Aerospike server versions >= 3.1.6.
REPLACE_ONLY3 Update record only. Fail if record does not exist. Delete existing bins not referenced by write command bins. Supported by Aerospike server versions >= 3.1.6.
CREATE_ONLY4 Create only. Fail if record exists.
See Also

Reference