Redis Commands 缩写
Redis里存储的value是有类型的,不同类型的值需要用不同的command来操作:
- List -> L, e.g., LPUSH, LLEN
- Hash -> H, e.g., HGET, HKEYS
- Set -> S, e.g, SADD, SISMEMBER,
- Sorted Set -> Z
其他缩写:
- M , Multiple
- R, Remove or Right(tail)
- B, Blocking, for instance, BLPOP (pop from head), BRPOP (pop from tail)