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

Method GetData

RedisStudio/SSDB/SSDBClient.cpp:189–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189bool SSDBClient::GetData( const std::string& key, std::string& type, RedisResult& results )
190{
191 Base::Mutex::ScopedLock scopedLock(m_oMutex);
192 if (!Type(key, type)) return false;
193
194 std::string realKey = RealKey(key);
195
196 m_pModelFactory.reset(new SSDBModelFactory(this->m_Client));
197 return m_pModelFactory->GetSSDBModel(type)->GetData(realKey, results);
198}
199
200bool SSDBClient::DelKey( const std::string& key )
201{

Callers 15

RedisMgrUIMethod · 0.45
RedisInfoUIMethod · 0.45
OnConnectedMethod · 0.45
OnUnConnectedMethod · 0.45
OnConnectingMethod · 0.45
RedisHelpUIMethod · 0.45
RedisConfigUIMethod · 0.45
DoApplyDataMethod · 0.45
ConnInfoUIMethod · 0.45
LoadConfigMethod · 0.45
SaveConfigMethod · 0.45
GetItemTextMethod · 0.45

Calls 3

TypeEnum · 0.85
resetMethod · 0.80
GetSSDBModelMethod · 0.80

Tested by

no test coverage detected