Delete a key/value
delete key [ casunique ]Where:
key (binary) -
Document ID used to identify the value
casunique (binary) -
Unique value used to verify a key/value combination
Ruby (Fauna)
object.delete(key [, ruby-delete-options ])
Returns: Boolean (
Boolean (true/false)
)
PHP (Couchbase PHP SDK)
$object->delete($key [, $casunique ])
Returns: scalar; supported values:
$object->deleteByKey($master_key, $key)
Returns: scalar; supported values:
Java (spymemcached)
client.delete(key)
Returns: OperationFuture<Boolean> (
Asynchronous request value, as Boolean
)
memcached text protocol
delete key
Returns: binary-string; supported values:
delete key noreply
Returns: binary-string; supported values:
delete key expiry
Returns: binary-string; supported values:
delete key expiry noreply
Returns: binary-string; supported values:
Perl (Cache::Memcached::libmemcached)
$object->delete($key)
Returns: ; supported values:
$object->remove($key)
Returns: ; supported values:
.NET Client Library
object.Remove(key)
Returns: Object; supported values:
object.ExecuteRemove(key)
Returns: IRemoveOperationResult (
Remove operation result
)
object.ExecuteRemove-cas(key, casunique)
Returns: IRemoveOperationResult (
Remove operation result
)
object.ExecuteRemove-observe(key, persistto)
Returns: IRemoveOperationResult (
Remove operation result
)
Python
object.delete(key [, casunique ] [, vbucket ])
Returns: object; supported values: