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.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.0.0 (5.1.0)
Syntax
C#
public static Operation Increment( ListPolicy policy, string binName, int index, Value value, params CTX[] ctx )
Parameters
- policy
- Type: Aerospike.ClientListPolicy
- binName
- Type: SystemString
- index
- Type: SystemInt32
- value
- Type: Aerospike.ClientValue
- ctx
- Type: Aerospike.ClientCTX
Return Value
Type: OperationSee Also