MapOperationIncrement Method

Create map increment operation. Server increments values by incr 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.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.3.0+ce4f0b6532a6a09537fffcf84d41de9c9c921c0a
C#
public static Operation Increment(
	MapPolicy policy,
	string binName,
	Value key,
	Value incr,
	params CTX[] ctx
)

Parameters

policy  MapPolicy
 
binName  String
 
key  Value
 
incr  Value
 
ctx  CTX
 

Return Value

Operation

See Also