Commands
All available commands in Echo DB
Echo DB supports a subset of Redis commands. Each command is documented in detail with examples and usage patterns.
String Commands
- SET - Set a key to hold a string value
- GET - Get the value of a key
- DEL - Delete one or more keys
- EXISTS - Check if one or more keys exist
List Commands
- LPUSH - Prepend one or more values to a list
- RPUSH - Append one or more values to a list
- LPOP - Remove and return elements from the left of a list
- RPOP - Remove and return elements from the right of a list
- LRANGE - Get a range of elements from a list
- LLEN - Get the length of a list
Expiry Commands
- EXPIRE - Set a timeout on a key
- TTL - Get the remaining time to live of a key
- PERSIST - Remove the expiration from a key
Connection Commands
Command Format
All commands use the RESP (Redis Serialization Protocol) format. You can use any Redis client or redis-cli to interact with ECHO DB.
Getting Help
For detailed information about each command, click on the command name above. Each command page includes:
- Syntax and description
- Arguments and return values
- Examples
- Use cases
- Related commands