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

Function setKey

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

Common case for genericSetKey() where the TTL is not retained. */

Source from the content-addressed store, hash-verified

269
270/* Common case for genericSetKey() where the TTL is not retained. */
271void setKey(client *c, redisDb *db, robj *key, robj *val) {
272 genericSetKey(c,db,key,val,0,1);
273}
274
275/* Return a random key, in form of a Redis object.
276 * If there are no keys, NULL is returned.

Callers 9

georadiusGenericFunction · 0.85
getsetCommandFunction · 0.85
msetGenericCommandFunction · 0.85
bitopCommandFunction · 0.85
sinterGenericCommandFunction · 0.85
sunionDiffGenericCommandFunction · 0.85
sortCommandFunction · 0.85

Calls 1

genericSetKeyFunction · 0.85

Tested by

no test coverage detected