New command: HEXISTS (Redis v2.0-dev).

This commit is contained in:
Daniele Alessandri
2010-03-29 12:27:40 +02:00
parent 2d8007448f
commit f3d7e5d31b
+6
View File
@@ -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'; }
}