mirror of
https://github.com/predis/predis.git
synced 2026-08-30 04:02:22 +00:00
New command: HDEL (Redis v2.0-dev).
This commit is contained in:
@@ -1232,6 +1232,8 @@ class RedisServer_vNext extends RedisServer_v1_2 {
|
||||
'hashSet' => '\Predis\Commands\HashSet',
|
||||
'hget' => '\Predis\Commands\HashGet',
|
||||
'hashGet' => '\Predis\Commands\HashGet',
|
||||
'hdel' => '\Predis\Commands\HashDelete',
|
||||
'hashDelete' => '\Predis\Commands\HashDelete',
|
||||
));
|
||||
}
|
||||
}
|
||||
@@ -1750,6 +1752,10 @@ class HashGet extends \Predis\BulkCommand {
|
||||
public function getCommandId() { return 'HGET'; }
|
||||
}
|
||||
|
||||
class HashDelete extends \Predis\BulkCommand {
|
||||
public function getCommandId() { return 'HDEL'; }
|
||||
}
|
||||
|
||||
/* multiple databases handling commands */
|
||||
class SelectDatabase extends \Predis\InlineCommand {
|
||||
public function canBeHashed() { return false; }
|
||||
|
||||
Reference in New Issue
Block a user