首页 > 其他 > 详细

Redis Tips

时间:2016-03-07 23:54:34      阅读:300      评论:0      收藏:0      [点我收藏+]

The command port and cluster bus port offset is fixed and is always 10000.

 

The LPUSH command inserts a new element on the head, while RPUSH inserts a new element on the tail

LPUSH mylist a   # now the list is "a"
LPUSH mylist b   # now the list is "b","a"
RPUSH mylist c   # now the list is "b","a","c" (RPUSH was used this time)

Redis Tips

原文:http://www.cnblogs.com/peng-fei/p/5252215.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!