Redis Zlexcount 命令
Redis 教程
· 2019-03-07 21:13:38
Redis Zlexcount 命令在计算有序集合中指定字典区间内成员数量。
语法
redis Zlexcount 命令基本语法如下:
redis 127.0.0.1:6379> ZLEXCOUNT KEY MIN MAX
可用版本
>= 2.8.9
返回值
指定区间内的成员数量。
实例
redis 127.0.0.1:6379> ZADD myzset 0 a 0 b 0 c 0 d 0 e (integer) 5 redis 127.0.0.1:6379> ZADD myzset 0 f 0 g (integer) 2 redis 127.0.0.1:6379> ZLEXCOUNT myzset - + (integer) 7 redis 127.0.0.1:6379> ZLEXCOUNT myzset [b [f (integer) 5
点击查看所有 Redis 教程 文章: https://codercto.com/courses/l/33.html
Web Analytics 2.0
Avinash Kaushik / Sybex / 2009-10-26 / USD 39.99
The bestselling book Web Analytics: An Hour A Day was the first book in the analytics space to move beyond clickstream analysis. Web Analytics 2.0 will significantly evolve the approaches from the fir......一起来看看 《Web Analytics 2.0》 这本书的介绍吧!