Created
April 6, 2020 14:55
-
-
Save PrakadAlpha/866c5a3f101772c5fc3163ba39147247 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Redis Commands:: | |
- hmset key vals.. | |
- hgetall key | |
- lpush key val | |
- lrange key 0 -1 | |
- sadd key val | |
- smembers key | |
- sismember key val | |
- zadd key score val | |
- zrange key 0 -1 WITHSCORES | |
- zrevrange key 0 -1 | |
- incr key => To increament the val | |
- exists key | |
- expire key secs | |
- set key val EX secs | |
- ttl key => check the secs left to expire | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment