Arguments
This command has no argumentsResponse
The number of keys in the database
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
const keys = await redis.dbsize();
console.log(keys) // 20
Count the number of keys in the database.
const keys = await redis.dbsize();
console.log(keys) // 20
Was this page helpful?