DBSIZE

Syntax

  1. DBSIZE

Time complexity: O(1)

ACL categories: @keyspace, @read, @fast

Return the number of keys in the currently-selected database.

Return

Integer reply