You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Add support for CLUSTER MYSHARDID
(#2528)
* Add support for CLUSTER.MYSHARDID command * Update CLUSTER_MYSHARDID.ts * Update CLUSTER_MYSHARDID.spec.ts * add test and clean code --------- Co-authored-by: Leibale Eidelman <me@leibale.com>
This commit is contained in:
7
packages/client/lib/commands/CLUSTER_MYSHARDID.ts
Normal file
7
packages/client/lib/commands/CLUSTER_MYSHARDID.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export const IS_READ_ONLY = true;
|
||||
|
||||
export function transformArguments() {
|
||||
return ['CLUSTER', 'MYSHARDID'];
|
||||
}
|
||||
|
||||
export declare function transformReply(): string | Buffer;
|
Reference in New Issue
Block a user