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

Function mexistsCommand

src/db.cpp:927–932  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

925}
926
927void mexistsCommand(client *c) {
928 addReplyArrayLen(c, c->argc - 1);
929 for (int j = 1; j < c->argc; ++j) {
930 addReplyBool(c, lookupKeyRead(c->db, c->argv[j]));
931 }
932}
933
934void selectCommand(client *c) {
935 int id;

Callers

nothing calls this directly

Calls 3

addReplyArrayLenFunction · 0.85
addReplyBoolFunction · 0.85
lookupKeyReadFunction · 0.85

Tested by

no test coverage detected