cleanup, docs

This commit is contained in:
root
2026-06-16 23:02:45 +00:00
parent ea08d5f28b
commit b8b56cf3dd
160 changed files with 1076 additions and 511 deletions
+8 -1
View File
@@ -15,4 +15,11 @@ Deletes the entry identified by `key`.
The return value is `true` when the operation succeeds.
:example
print("memcache_delete is resource-bound; configure the service or connection, then call it in request code.\n");
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");