MCPcopy Create free account
hub / github.com/F-Stack/f-stack / dbDelete

Function dbDelete

app/redis-6.2.6/src/db.c:334–337  ·  view source on GitHub ↗

This is a wrapper whose behavior depends on the Redis lazy free * configuration. Deletes the key synchronously or asynchronously. */

Source from the content-addressed store, hash-verified

332/* This is a wrapper whose behavior depends on the Redis lazy free
333 * configuration. Deletes the key synchronously or asynchronously. */
334int dbDelete(redisDb *db, robj *key) {
335 return server.lazyfree_lazy_server_del ? dbAsyncDelete(db,key) :
336 dbSyncDelete(db,key);
337}
338
339/* Prepare the string object stored at 'key' to be modified destructively
340 * to implement commands like SETBIT or APPEND.

Callers 15

hdelCommandFunction · 0.85
georadiusGenericFunction · 0.85
bitopCommandFunction · 0.85
renameGenericCommandFunction · 0.85
moveCommandFunction · 0.85
copyCommandFunction · 0.85
delKeysInSlotFunction · 0.85
restoreCommandFunction · 0.85
migrateCommandFunction · 0.85
sremCommandFunction · 0.85
smoveCommandFunction · 0.85

Calls 2

dbAsyncDeleteFunction · 0.85
dbSyncDeleteFunction · 0.85

Tested by

no test coverage detected