Upstash · Method
redis.dbsize
DBSIZE returns the number of keys in the current database. It counts keys of all data types and returns an integer.
Last updated
Syntax
DBSIZEIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
CONFIG SETFLUSHALLFLUSHDBINFOKEYS