module Aerospike::RecordExistsAction

Constants

CREATE_ONLY

Create only. Fail if record exists.

REPLACE

Create or replace record. Delete existing bins not referenced by write command bins. Supported by Aerospike 2 server versions >= 2.7.5 and Aerospike 3 server versions >= 3.1.6.

REPLACE_ONLY

Replace record only. Fail if record does not exist. Delete existing bins not referenced by write command bins. Supported by Aerospike 2 server versions >= 2.7.5 and Aerospike 3 server versions >= 3.1.6.

UPDATE

Create or update record. Merge write command bins with existing bins.

UPDATE_ONLY

Update record only. Fail if record does not exist. Merge write command bins with existing bins.