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.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.3.1.0 (5.3.1)
Syntax
C#
public void Prepend( WritePolicy policy, Key key, params Bin[] bins )
Parameters
- policy
- Type: Aerospike.ClientWritePolicy
write configuration parameters, pass in null for defaults - key
- Type: Aerospike.ClientKey
unique record identifier - bins
- Type: Aerospike.ClientBin
array of bin name/value pairs
Implements
IAerospikeClientPrepend(WritePolicy, Key, Bin)Exceptions
Exception | Condition |
---|---|
AerospikeException | if prepend fails |
See Also