memcache_delete
host callCapy
function memcache_delete(connection : u64, key : string) bool
Description
memcache_delete() deletes the entry for key.
It returns true only when the server returns DELETED. It normalizes whitespace in keys to underscores before it sends the request.
This normalization is transparent. The keys "a b" and "a_b" address the same entry.
Parameters
connection : the connection handle
key : the entry key
Return Values
true when the server deletes the entry
Example
Capy
var connection := memcache_connect()
if connection { print(memcache_delete(connection, "doc-key"), "\n") }