RedoxDB CLI Playground
Welcome to the RedoxDB CLI Simulator! Here's how to get started:
RedoxDB by default assumes the data is in persistence mode hence for non-persistent mode use expiring keys to clean up the state.
- PING – Responds with PONG.
- SET key value – Stores a key-value pair.
- GET key – Retrieves the value for a given key.
- DEL key – Deletes the specified key.
- SET key value PX time – Stores a key-value pair but the key will expire in time sec.
- EXIST key – Returns 1 if the key exist inside the DB else returns 0.
- TYPEOF key – If the key exists then returns the type of value in the DB.
- CLEAN – Deletes the RDB file
- clear – Clears the terminal screen.
- INFO replication – Retrieves the metadata of the server
RedoxDB CLI is case sensistive.
Start typing in the terminal on the right and see how RedoxDB responds!