module Aerospike::Exp::WriteFlags
Expression write flags.
Constants
- ALLOW_DELETE
If expression results in nil value, then delete the bin. Otherwise, fail with ResultCode#OP_NOT_APPLICABLE when POLICY_NO_FAIL is not set.
- CREATE_ONLY
If bin does not exist, a new bin will be created. If bin exists, the operation will be denied. If bin exists, fail with ResultCode#BIN_EXISTS_ERROR when POLICY_NO_FAIL is not set.
- DEFAULT
Default. Allow create or update.
- EVAL_NO_FAIL
Ignore failures caused by the expression resolving to unknown or a non-bin type.
- POLICY_NO_FAIL
Do not raise error if operation is denied.
- UPDATE_ONLY
If bin exists, the bin will be overwritten. If bin does not exist, the operation will be denied. If bin does not exist, fail with ResultCode#BIN_NOT_FOUND when POLICY_NO_FAIL is not set.