MCPcopy Create free account
hub / github.com/cinience/RedisStudio / zget

Method zget

RedisStudio/SSDB/SSDB_impl.cpp:349–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347
348
349Status ClientImpl::zget(const std::string &name, const std::string &key, int64_t *ret){
350 const std::vector<std::string> *resp;
351 resp = this->request("zget", name, key);
352 return _read_int64(resp, ret);
353}
354
355Status ClientImpl::zset(const std::string &name, const std::string &key, int64_t score){
356 std::string s_score = str(score);

Callers 1

GetDataMethod · 0.80

Calls 2

requestMethod · 0.95
_read_int64Function · 0.85

Tested by

no test coverage detected