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

Method GetData

RedisStudio/Redis/RedisClient.cpp:322–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322bool RedisClient::GetData( const std::string& key, std::string& type, RedisResult& results )
323{
324 redisReply* reply = NULL;
325 if (!Type(key, type)) return false;
326
327 if (type == "none") return false;
328 m_pModelFactory.reset(new RedisModelFactory(this));
329 return m_pModelFactory->GetRedisModel(type)->GetData(key, results);
330}
331
332bool RedisClient::DelKey( const std::string& key )
333{

Callers

nothing calls this directly

Calls 3

TypeEnum · 0.85
resetMethod · 0.80
GetRedisModelMethod · 0.80

Tested by

no test coverage detected