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

Method DbSize

RedisStudio/Redis/RedisClient.cpp:250–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250long long RedisClient::DbSize()
251{
252 long long dbsize = 0;
253 ScopedRedisReply reply(Command("DBSIZE"));
254 if (!reply.IsNull() && reply->type == REDIS_REPLY_INTEGER)
255 {
256 dbsize = reply->integer;
257 }
258 return dbsize;
259}
260
261bool RedisClient::GetConfig(TDicConfig& dicConfig)
262{

Callers

nothing calls this directly

Calls 1

IsNullMethod · 0.45

Tested by

no test coverage detected