DBSIZE

Since 1.1.0Server

Syntax

DBSIZE
  • Flags: fast
  • ACL categories: @fast, @server
  • Arity: 1

Returns the number of keys in the current database.

Examples

> DBSIZE
(integer) 0