mirror of
https://github.com/predis/predis.git
synced 2026-08-30 12:15:03 +00:00
New command: HEXISTS (Redis v2.0-dev).
This commit is contained in:
@@ -1234,6 +1234,8 @@ class RedisServer_vNext extends RedisServer_v1_2 {
|
||||
'hashGet' => '\Predis\Commands\HashGet',
|
||||
'hdel' => '\Predis\Commands\HashDelete',
|
||||
'hashDelete' => '\Predis\Commands\HashDelete',
|
||||
'hexists' => '\Predis\Commands\HashExists',
|
||||
'hashExists' => '\Predis\Commands\HashExists',
|
||||
'hlen' => '\Predis\Commands\HashLength',
|
||||
'hashLength' => '\Predis\Commands\HashLength',
|
||||
'hkeys' => '\Predis\Commands\HashKeys',
|
||||
@@ -1768,6 +1770,10 @@ class HashDelete extends \Predis\BulkCommand {
|
||||
public function getCommandId() { return 'HDEL'; }
|
||||
}
|
||||
|
||||
class HashExists extends \Predis\BulkCommand {
|
||||
public function getCommandId() { return 'HEXISTS'; }
|
||||
}
|
||||
|
||||
class HashLength extends \Predis\InlineCommand {
|
||||
public function getCommandId() { return 'HLEN'; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user