Signature
bool memcache_delete(u64 connection, String key)
Parameters
connection : connection handle
key : key string
return value : true if the operation was successful
Deletes the entry identified by key.
The return value is true when the operation succeeds.
Example
u64 conn = memcache_connect();
if(conn != 0)
{
memcache_set(conn, "doc_del_key", "v");
memcache_delete(conn, "doc_del_key");
print(memcache_get(conn, "doc_del_key", "gone"), "\n");
}
else print("(requires a reachable memcached server)\n");
Output
gone