mirror of
https://github.com/predis/predis.git
synced 2026-09-19 06:47:39 +00:00
New command: ZREMRANGEBYRANK (Redis v2.0-dev).
This commit is contained in:
@@ -1202,6 +1202,8 @@ class RedisServer_vNext extends RedisServer_v1_2 {
|
||||
'zsetRank' => '\Predis\Commands\ZSetRank',
|
||||
'zrevrank' => '\Predis\Commands\ZSetReverseRank',
|
||||
'zsetReverseRank' => '\Predis\Commands\ZSetReverseRank',
|
||||
'zremrangebyrank' => '\Predis\Commands\ZSetRemoveRangeByRank',
|
||||
'zsetRemoveRangeByRank' => '\Predis\Commands\ZSetRemoveRangeByRank',
|
||||
|
||||
/* commands operating on hashes */
|
||||
'hset' => '\Predis\Commands\HSet',
|
||||
@@ -1705,6 +1707,10 @@ class ZSetReverseRank extends \Predis\InlineCommand {
|
||||
public function getCommandId() { return 'ZREVRANK'; }
|
||||
}
|
||||
|
||||
class ZSetRemoveRangeByRank extends \Predis\InlineCommand {
|
||||
public function getCommandId() { return 'ZREMRANGEBYRANK'; }
|
||||
}
|
||||
|
||||
/* commands operating on hashes */
|
||||
class HSet extends \Predis\MultiBulkCommand {
|
||||
public function getCommandId() { return 'HSET'; }
|
||||
|
||||
Reference in New Issue
Block a user