ListOperationIncrement(ListPolicy, String, Int32, Value, CTX) Method

Create list increment operation. Server increments list[index] by value. Value should be integer(IntegerValue, LongValue) or double(DoubleValue, FloatValue). Server returns list[index] after incrementing.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Operation Increment(
	ListPolicy policy,
	string binName,
	int index,
	Value value,
	params CTX[] ctx
)

Parameters

policy  ListPolicy
 
binName  String
 
index  Int32
 
value  Value
 
ctx  CTX
 

Return Value

Operation

See Also