Create map decrement operation.
Server decrements values by decr for all items identified by key and returns final result.
Valid only for numbers.
The required map policy dictates the type of map to create when it does not exist. The map policy also specifies the mode used when writing items to the map. See policy and write mode .
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.9.16.1 (3.9.16.1)
Syntax
C#
public static Operation Decrement( MapPolicy policy, string binName, Value key, Value decr, params CTX[] ctx )
Parameters
- policy
- Type: Aerospike.ClientMapPolicy
- binName
- Type: SystemString
- key
- Type: Aerospike.ClientValue
- decr
- Type: Aerospike.ClientValue
- ctx
- Type: Aerospike.ClientCTX
Return Value
Type: OperationSee Also