redis基本知识语法

基本语法



String类型







List用法(类似于双向链表)



可用生产者消费者模式等等






Set类型






Hash(哈希)







Zset(有序集合)




降序用zrevrangebyscore salary +inf -inf

















可用生产者消费者模式等等























降序用zrevrangebyscore salary +inf -inf


