Skip to content

Key Commands

Key commands are used to manage keys in Redis. These commands allow you to create, delete, check, and modify keys and their attributes, such as expiration time.

Command List

Use Cases

Key commands are among the most fundamental and important commands in Redis. They are used to manage the lifecycle of keys, including creating, querying, updating, and deleting keys. EXPIRE and TTL related commands are particularly suitable for caching scenarios, where expired data can be automatically cleaned up.

For detailed usage and parameters of each command, please refer to the individual command documentation linked above.

Released under the GPL-3.0 License.