AerospikeClientPrepend Method

Prepend bin string values to existing record bin values. The policy specifies the transaction timeout, record expiration and how the transaction is handled when the record already exists. This call works only for string values.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public void Prepend(
	WritePolicy policy,
	Key key,
	params Bin[] bins
)

Parameters

policy  WritePolicy
write configuration parameters, pass in null for defaults
key  Key
unique record identifier
bins  Bin
array of bin name/value pairs

Implements

IAerospikeClientPrepend(WritePolicy, Key, Bin)

Exceptions

AerospikeExceptionif prepend fails

See Also