Redis Lpop 命令

更新时间: 2019-07-07 15:54

Redis Lpop 命令用于移除并返回列表的第一个元素。

语法

redis 127.0.0.1:6379> Lpop KEY_NAME 

返回值

列表的第一个元素。 当列表 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 列表(List)命令

Introduction to Semi-Supervised Learning

Introduction to Semi-Supervised Learning

Xiaojin Zhu、Andrew B. Goldberg / Morgan and Claypool Publishers / 2009-6-29 / USD 40.00

Semi-supervised learning is a learning paradigm concerned with the study of how computers and natural systems such as humans learn in the presence of both labeled and unlabeled data. Traditionally, le......一起来看看 《Introduction to Semi-Supervised Learning》 这本书的介绍吧!

JSON 在线解析

JSON 在线解析

在线 JSON 格式化工具

RGB HSV 转换

RGB HSV 转换

RGB HSV 互转工具

HEX CMYK 转换工具

HEX CMYK 转换工具

HEX CMYK 互转工具