Redis Lpop 命令
Redis 教程
· 2019-03-07 13:27:54
Redis Lpop 命令用于移除并返回列表的第一个元素。
语法
redis Lpop 命令基本语法如下:
redis 127.0.0.1:6379> Lpop KEY_NAME
可用版本
>= 1.0.0
返回值
列表的第一个元素。 当列表 key 不存在时,返回 nil 。
实例
redis 127.0.0.1:6379> RPUSH list1 "foo" (integer) 1 redis 127.0.0.1:6379> RPUSH list1 "bar" (integer) 2 redis 127.0.0.1:6379> LPOP list1 "foo"
点击查看所有 Redis 教程 文章: https://www.codercto.com/courses/l/33.html
Object-Oriented Design Heuristics
Arthur J. Riel / Addison-Wesley Professional / 1996-05-10 / USD 64.99
Product Description Here is the first object-oriented development book to provide specific experience-based guidelines to help developers make the right design decisions. This book offers the next ......一起来看看 《Object-Oriented Design Heuristics》 这本书的介绍吧!