Merge pull request #24225 from d-yokoi/fix-hmset

Fixed ioredis.hmset in pipeline allowing support for data as object
This commit is contained in:
Arthur Ozga
2018-03-15 12:32:04 -07:00
committed by GitHub
+1
View File
@@ -595,6 +595,7 @@ declare namespace IORedis {
hget(key: string, field: string, callback?: (err: Error, res: string) => void): Pipeline;
hmset(key: string, field: string, value: any, ...args: string[]): Pipeline;
hmset(key: string, data: any, callback?: (err: Error, res: 0 | 1) => void): Pipeline;
hmget(key: string, ...fields: string[]): Pipeline;