append


Description:

public bool append (string key, string value, uint64 cas = 0)

Append a string to an existing key.

Example:

  var success = client.append( "my-key", " again" );
// Append with previous operation
GetResult result = client.get_result("my-key");
success = client.append( "my-key", " again", 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