您的位置:首页 > 数据库 > Redis

Redis Tips

2016-03-07 22:27 579 查看
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)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: