mirror of
https://github.com/predis/predis.git
synced 2026-08-31 12:43:31 +00:00
New command: ZINTER (Redis v2.0-dev).
This commit is contained in:
@@ -1198,6 +1198,8 @@ class RedisServer_vNext extends RedisServer_v1_2 {
|
||||
/* commands operating on sorted sets */
|
||||
'zunion' => '\Predis\Commands\ZSetUnion',
|
||||
'zsetUnion' => '\Predis\Commands\ZSetUnion',
|
||||
'zinter' => '\Predis\Commands\ZSetIntersection',
|
||||
'zsetIntersection' => '\Predis\Commands\ZSetIntersection',
|
||||
'zcount' => '\Predis\Commands\ZSetCount',
|
||||
'zsetCount' => '\Predis\Commands\ZSetCount',
|
||||
'zrank' => '\Predis\Commands\ZSetRank',
|
||||
@@ -1661,6 +1663,10 @@ class ZSetUnion extends \Predis\InlineCommand {
|
||||
public function getCommandId() { return 'ZUNION'; }
|
||||
}
|
||||
|
||||
class ZSetIntersection extends \Predis\InlineCommand {
|
||||
public function getCommandId() { return 'ZINTER'; }
|
||||
}
|
||||
|
||||
class ZSetRange extends \Predis\InlineCommand {
|
||||
public function getCommandId() { return 'ZRANGE'; }
|
||||
public function parseResponse($data) {
|
||||
|
||||
Reference in New Issue
Block a user