mirror of
https://github.com/predis/predis.git
synced 2026-09-15 21:07:08 +00:00
New command: ZRANK (Redis v2.0-dev).
This commit is contained in:
@@ -1105,6 +1105,8 @@ class RedisServer_vNext extends RedisServer_v1_2 {
|
||||
/* commands operating on sorted sets */
|
||||
'zcount' => '\Predis\Commands\ZCount',
|
||||
'zsetCount' => '\Predis\Commands\ZCount',
|
||||
'zrank' => '\Predis\Commands\ZSetRank',
|
||||
'zsetRank' => '\Predis\Commands\ZSetRank',
|
||||
));
|
||||
}
|
||||
}
|
||||
@@ -1500,6 +1502,10 @@ class ZSetRemoveRangeByScore extends \Predis\InlineCommand {
|
||||
public function getCommandId() { return 'ZREMRANGEBYSCORE'; }
|
||||
}
|
||||
|
||||
class ZSetRank extends \Predis\InlineCommand {
|
||||
public function getCommandId() { return 'ZRANK'; }
|
||||
}
|
||||
|
||||
/* multiple databases handling commands */
|
||||
class SelectDatabase extends \Predis\InlineCommand {
|
||||
public function canBeHashed() { return false; }
|
||||
|
||||
Reference in New Issue
Block a user