mirror of
https://github.com/predis/predis.git
synced 2026-09-06 16:09:19 +00:00
New command: HINCRBY (Redis v2.0-dev).
This commit is contained in:
@@ -1230,6 +1230,8 @@ class RedisServer_vNext extends RedisServer_v1_2 {
|
||||
/* commands operating on hashes */
|
||||
'hset' => '\Predis\Commands\HashSet',
|
||||
'hashSet' => '\Predis\Commands\HashSet',
|
||||
'hincrby' => '\Predis\Commands\HashIncrementBy',
|
||||
'hashIncrementBy' => '\Predis\Commands\HashIncrementBy',
|
||||
'hget' => '\Predis\Commands\HashGet',
|
||||
'hashGet' => '\Predis\Commands\HashGet',
|
||||
'hdel' => '\Predis\Commands\HashDelete',
|
||||
@@ -1762,6 +1764,10 @@ class HashSet extends \Predis\MultiBulkCommand {
|
||||
public function getCommandId() { return 'HSET'; }
|
||||
}
|
||||
|
||||
class HashIncrementBy extends \Predis\InlineCommand {
|
||||
public function getCommandId() { return 'HINCRBY'; }
|
||||
}
|
||||
|
||||
class HashGet extends \Predis\BulkCommand {
|
||||
public function getCommandId() { return 'HGET'; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user