|
@@ -259,6 +259,8 @@ class Client {
|
|
|
/* commands operating on sorted sets */
|
|
|
'zadd' => '\Predis\Commands\ZSetAdd',
|
|
|
'zsetAdd' => '\Predis\Commands\ZSetAdd',
|
|
|
+ 'zincrby' => '\Predis\Commands\ZSetIncrementBy',
|
|
|
+ 'zsetIncrementBy' => '\Predis\Commands\ZSetIncrementBy',
|
|
|
'zrem' => '\Predis\Commands\ZSetRemove',
|
|
|
'zsetRemove' => '\Predis\Commands\ZSetRemove',
|
|
|
'zrange' => '\Predis\Commands\ZSetRange',
|
|
@@ -982,6 +984,11 @@ class ZSetAdd extends \Predis\BulkCommand {
|
|
|
public function parseResponse($data) { return (bool) $data; }
|
|
|
}
|
|
|
|
|
|
+class ZSetIncrementBy extends \Predis\BulkCommand {
|
|
|
+ public function getCommandId() { return 'ZINCRBY'; }
|
|
|
+ public function parseResponse($data) { return (bool) $data; }
|
|
|
+}
|
|
|
+
|
|
|
class ZSetRemove extends \Predis\BulkCommand {
|
|
|
public function getCommandId() { return 'ZREM'; }
|
|
|
public function parseResponse($data) { return (bool) $data; }
|