mirror of
https://github.com/predis/predis.git
synced 2026-09-12 11:27:05 +00:00
Process responses to HSET as boolean values.
This commit is contained in:
@@ -2149,6 +2149,7 @@ class ZSetRemoveRangeByRank extends \Predis\MultiBulkCommand {
|
||||
/* commands operating on hashes */
|
||||
class HashSet extends \Predis\MultiBulkCommand {
|
||||
public function getCommandId() { return 'HSET'; }
|
||||
public function parseResponse($data) { return (bool) $data; }
|
||||
}
|
||||
|
||||
class HashSetPreserve extends \Predis\MultiBulkCommand {
|
||||
|
||||
Reference in New Issue
Block a user