Learn R Programming

rredis (version 1.6.9)

redisDBSize: Return the number of keys in the current Redis database.

Description

Return the number of keys in the current Redis database.

Usage

redisDBSize()

Arguments

Value

  • The number of keys in the current database.

Details

Use redisSelect to choose a current database from among the available Redis databases.

References

http://redis.io/commands

See Also

redisSelect

Examples

Run this code
redisDBSize()

Run the code above in your browser using DataLab