Server
DBSIZE
Count the number of keys in the database.
const keys = await redis.dbsize();
console.log(keys) // 20
Was this page helpful?
const keys = await redis.dbsize();
console.log(keys) // 20
const keys = await redis.dbsize();
console.log(keys) // 20
Was this page helpful?
const keys = await redis.dbsize();
console.log(keys) // 20