prepend_bytes


Description:

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

Prepend bytes to an existing key.

Example:

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