File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
redisinsight/api/src/modules Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ export enum BrowserToolStringCommands {
20
20
21
21
export enum BrowserToolHashCommands {
22
22
HSet = 'hset' ,
23
+ HGetAll = 'hgetall' ,
24
+ HGETALL = 'HGETALL' ,
23
25
HGet = 'hget' ,
24
26
HLen = 'hlen' ,
25
27
HScan = 'hscan' ,
Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ export abstract class IoredisClient extends RedisClient {
20
20
client . addBuiltinCommand ( BrowserToolHashCommands . HExpire ) ;
21
21
client . addBuiltinCommand ( BrowserToolHashCommands . HTtl ) ;
22
22
client . addBuiltinCommand ( BrowserToolHashCommands . HPersist ) ;
23
+ // fix not existing command in pipeline
24
+ client . addBuiltinCommand ( BrowserToolHashCommands . HGETALL ) ;
25
+ // should return array (same as original reply)
26
+ Redis . Command . setReplyTransformer ( BrowserToolHashCommands . HGetAll , ( result ) => result ) ;
23
27
}
24
28
25
29
static prepareCommandOptions ( options : IRedisClientCommandOptions ) : any {
You can’t perform that action at this time.
0 commit comments