MCPcopy Create free account
hub / github.com/cc20110101/RedisView / type

Method type

src/RedisView/RedisLib/RedisCluster.cpp:403–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401}
402
403bool RedisCluster::type(const QString &key, QByteArray &value) {
404 _redisClient = getClient(key);
405 if(!_redisClient) {
406 _sErrorInfo = "get client by key failed";
407 return false;
408 }
409
410 if(!_redisClient->type(key, value)) {
411 _sErrorInfo = _redisClient->getErrorInfo();
412 return false;
413 }
414
415 return true;
416}
417
418bool RedisCluster::getcfg(const QString& parameter, RespType &value) {
419 _redisClient = getClient();

Callers

nothing calls this directly

Calls 1

getErrorInfoMethod · 0.45

Tested by

no test coverage detected