MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / dbSyncDelete

Function dbSyncDelete

src/db.cpp:517–519  ·  view source on GitHub ↗

Delete a key, value, and associated expiration entry if any, from the DB */

Source from the content-addressed store, hash-verified

515
516/* Delete a key, value, and associated expiration entry if any, from the DB */
517int dbSyncDelete(redisDb *db, robj *key) {
518 return db->syncDelete(key);
519}
520
521/* This is a wrapper whose behavior depends on the Redis lazy free
522 * configuration. Deletes the key synchronously or asynchronously. */

Callers 9

dbDeleteFunction · 0.85
delGenericCommandFunction · 0.85
evictFunction · 0.85
expireGenericCommandFunction · 0.85
getexCommandFunction · 0.85
getdelCommandFunction · 0.85
executeCronJobExpireHookFunction · 0.85

Calls 1

syncDeleteMethod · 0.80

Tested by

no test coverage detected