Smilingleo's Blog

Redis Commands 缩写

September 21, 2022

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)

Next: 一个安卓老用户换十三香之后的感受


Blog comments powered by Disqus.

© Wei Liu | 2024