mirror of
https://github.com/predis/predis.git
synced 2026-09-04 14:56:47 +00:00
New command: ZREVRANK (Redis v2.0-dev).
This commit is contained in:
@@ -1200,6 +1200,8 @@ class RedisServer_vNext extends RedisServer_v1_2 {
|
||||
'zsetCount' => '\Predis\Commands\ZSetCount',
|
||||
'zrank' => '\Predis\Commands\ZSetRank',
|
||||
'zsetRank' => '\Predis\Commands\ZSetRank',
|
||||
'zrevrank' => '\Predis\Commands\ZSetReverseRank',
|
||||
'zsetReverseRank' => '\Predis\Commands\ZSetReverseRank',
|
||||
|
||||
/* commands operating on hashes */
|
||||
'hset' => '\Predis\Commands\HSet',
|
||||
@@ -1699,6 +1701,10 @@ class ZSetRank extends \Predis\InlineCommand {
|
||||
public function getCommandId() { return 'ZRANK'; }
|
||||
}
|
||||
|
||||
class ZSetReverseRank extends \Predis\InlineCommand {
|
||||
public function getCommandId() { return 'ZREVRANK'; }
|
||||
}
|
||||
|
||||
/* commands operating on hashes */
|
||||
class HSet extends \Predis\MultiBulkCommand {
|
||||
public function getCommandId() { return 'HSET'; }
|
||||
|
||||
Reference in New Issue
Block a user