We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7adc5e4 commit 3700e5dCopy full SHA for 3700e5d
packages/client/lib/client/parser.ts
@@ -44,6 +44,14 @@ export class BasicCommandParser implements CommandParser {
44
return tmp.join('_');
45
}
46
47
+ get commandName(): string | undefined {
48
+ let cmdName = this.#redisArgs[0];
49
+ if (cmdName instanceof Buffer) {
50
+ return cmdName.toString();
51
+ }
52
+ return cmdName;
53
54
+
55
push(...arg: Array<RedisArgument>) {
56
this.#redisArgs.push(...arg);
57
};
0 commit comments