MCPcopy Create free account
hub / github.com/acl-dev/acl / evalsha_number64

Method evalsha_number64

lib_acl_cpp/src/redis/redis_script.cpp:131–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131bool redis_script::evalsha_number64(const char* script,
132 const std::vector<string>& keys,
133 const std::vector<string>& args,
134 long long int& out)
135{
136 const redis_result* result = eval_cmd("EVALSHA", script, keys, args);
137 if (result == NULL) {
138 return false;
139 }
140
141 bool success;
142 out = result->get_integer64(&success);
143 return success;
144}
145
146int redis_script::evalsha_string(const char* script,
147 const std::vector<string>& keys,

Callers

nothing calls this directly

Calls 1

get_integer64Method · 0.45

Tested by

no test coverage detected