Skip to content

Commit 1d089d0

Browse files
committed
Add ZREVRANGEBYLEX command
1 parent 892ce26 commit 1d089d0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Redis.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2281,6 +2281,18 @@ public function zRevRangeByScore( $key, $start, $end, array $options = array() )
22812281
*/
22822282
public function zRangeByLex( $key, $min, $max, $offset = null, $limit = null ) {}
22832283

2284+
/**
2285+
* @see zRangeByLex()
2286+
* @param string $key
2287+
* @param int $min
2288+
* @param int $max
2289+
* @param int $offset
2290+
* @param int $limit
2291+
* @return array
2292+
* @link http://redis.io/commands/zrevrangebylex
2293+
*/
2294+
public function zRevRangeByLex( $key, $min, $max, $offset = null, $limit = null ) {}
2295+
22842296
/**
22852297
* Returns the number of elements of the sorted set stored at the specified key which have
22862298
* scores in the range [start,end]. Adding a parenthesis before start or end excludes it

0 commit comments

Comments
 (0)