MapOperationDecrement Method

Note: This API is now obsolete.
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 MapPolicy and write mode MapWriteMode.


Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
[ObsoleteAttribute("Decrement is deprecated. Use Increment with a negative value instead.")]
public static Operation Decrement(
	MapPolicy policy,
	string binName,
	Value key,
	Value decr,
	params CTX[] ctx


policy  MapPolicy
binName  String
key  Value
decr  Value
ctx  CTX

Return Value


See Also