Redis Sismember 命令
Redis 教程
· 2019-03-07 17:41:26
Redis Sismember 命令判断成员元素是否是集合的成员。
语法
redis Sismember 命令基本语法如下:
redis 127.0.0.1:6379> SISMEMBER KEY VALUE
可用版本
>= 1.0.0
返回值
如果成员元素是集合的成员,返回 1 。 如果成员元素不是集合的成员,或 key 不存在,返回 0 。
实例
redis 127.0.0.1:6379> SADD myset1 "hello" (integer) 1 redis 127.0.0.1:6379> SISMEMBER myset1 "hello" (integer) 1 redis 127.0.0.1:6379> SISMEMBER myset1 "world" (integer) 0
点击查看所有 Redis 教程 文章: https://codercto.com/courses/l/33.html
Writing Windows VxDs and Device Drivers, Second Edition
Karen Hazzah / CMP / 1996-01-12 / USD 54.95
Software developer and author Karen Hazzah expands her original treatise on device drivers in the second edition of "Writing Windows VxDs and Device Drivers." The book and companion disk include the a......一起来看看 《Writing Windows VxDs and Device Drivers, Second Edition》 这本书的介绍吧!