append_bytes


Description:

public bool append_bytes (string key, uint8[] value, uint64 cas = 0)

Append bytes to an existing key.

Example:

  var success = client.append_bytes( "my-key", " again".data );
// Append with previous operation
GetResult result = client.get_result("my-key");
success = client.append_bytes( "my-key", " again".data, result.cas );

Parameters:

key The key
value The value
cas Optionally, the CAS as retrieved from a get_result() operation

Returns:

true if the command was successful