IAerospikeClientOperate Method (WritePolicy, Key, Operation)

Aerospike
Perform multiple read/write operations on a single key in one batch call. An example would be to add an integer value to an existing record and then read the result, all in one database call.

The server executes operations in the same order as the operations array. Both scalar bin operations (Operation) and CDT bin operations (ListOperation, MapOperation) can be performed in same call.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
Record Operate(
	WritePolicy policy,
	Key key,
	params Operation[] operations
)

Parameters

policy
Type: Aerospike.ClientWritePolicy
write configuration parameters, pass in null for defaults
key
Type: Aerospike.ClientKey
unique record identifier
operations
Type: Aerospike.ClientOperation
database operations to perform

Return Value

Type: Record
Exceptions

ExceptionCondition
AerospikeExceptionif command fails
See Also

Reference