1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
|
# Redis `generic` commands (23/26 implemented)
## [DEL](https://redis.io/commands/del/)
Deletes one or more keys.
## [DUMP](https://redis.io/commands/dump/)
Returns a serialized representation of the value stored at a key.
## [EXISTS](https://redis.io/commands/exists/)
Determines whether one or more keys exist.
## [EXPIRE](https://redis.io/commands/expire/)
Sets the expiration time of a key in seconds.
## [EXPIREAT](https://redis.io/commands/expireat/)
Sets the expiration time of a key to a Unix timestamp.
## [EXPIRETIME](https://redis.io/commands/expiretime/)
Returns the expiration time of a key as a Unix timestamp.
## [KEYS](https://redis.io/commands/keys/)
Returns all key names that match a pattern.
## [MOVE](https://redis.io/commands/move/)
Moves a key to another database.
## [PERSIST](https://redis.io/commands/persist/)
Removes the expiration time of a key.
## [PEXPIRE](https://redis.io/commands/pexpire/)
Sets the expiration time of a key in milliseconds.
## [PEXPIREAT](https://redis.io/commands/pexpireat/)
Sets the expiration time of a key to a Unix milliseconds timestamp.
## [PEXPIRETIME](https://redis.io/commands/pexpiretime/)
Returns the expiration time of a key as a Unix milliseconds timestamp.
## [PTTL](https://redis.io/commands/pttl/)
Returns the expiration time in milliseconds of a key.
## [RANDOMKEY](https://redis.io/commands/randomkey/)
Returns a random key name from the database.
## [RENAME](https://redis.io/commands/rename/)
Renames a key and overwrites the destination.
## [RENAMENX](https://redis.io/commands/renamenx/)
Renames a key only when the target key name doesn't exist.
## [RESTORE](https://redis.io/commands/restore/)
Creates a key from the serialized representation of a value.
## [SCAN](https://redis.io/commands/scan/)
Iterates over the key names in the database.
## [SORT](https://redis.io/commands/sort/)
Sorts the elements in a list, a set, or a sorted set, optionally storing the result.
## [SORT_RO](https://redis.io/commands/sort_ro/)
Returns the sorted elements of a list, a set, or a sorted set.
## [TTL](https://redis.io/commands/ttl/)
Returns the expiration time in seconds of a key.
## [TYPE](https://redis.io/commands/type/)
Determines the type of value stored at a key.
## [UNLINK](https://redis.io/commands/unlink/)
Asynchronously deletes one or more keys.
## Unsupported generic commands
> To implement support for a command, see [here](/guides/implement-command/)
#### [COPY](https://redis.io/commands/copy/) <small>(not implemented)</small>
Copies the value of a key to a new key.
#### [WAIT](https://redis.io/commands/wait/) <small>(not implemented)</small>
Blocks until the asynchronous replication of all preceding write commands sent by the connection is completed.
#### [WAITAOF](https://redis.io/commands/waitaof/) <small>(not implemented)</small>
Blocks until all of the preceding write commands sent by the connection are written to the append-only file of the master and/or replicas.
|