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

Method DelKey

RedisStudio/Redis/RedisClient.cpp:332–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332bool RedisClient::DelKey( const std::string& key )
333{
334 ScopedRedisReply reply(Command("DEL %s", key.c_str()));
335 if (reply.IsNull() || reply->type != REDIS_REPLY_INTEGER || reply->integer == 0)
336 {
337 return false;
338 }
339 return true;
340}
341
342bool RedisClient::UpdateData( const std::string& key,
343 const std::string& oldValue,

Callers

nothing calls this directly

Calls 1

IsNullMethod · 0.45

Tested by

no test coverage detected