You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-03 04:01:40 +03:00
* Support OBJECT [...] commands * move commands to cluster/commands.ts Co-authored-by: leibale <leibale1998@gmail.com>
12 lines
323 B
TypeScript
12 lines
323 B
TypeScript
import { RedisCommandArgument, RedisCommandArguments } from '.';
|
|
|
|
export const FIRST_KEY_INDEX = 2;
|
|
|
|
export const IS_READ_ONLY = true;
|
|
|
|
export function transformArguments(key: RedisCommandArgument): RedisCommandArguments {
|
|
return ['OBJECT', 'ENCODING', key];
|
|
}
|
|
|
|
export declare function transformReply(): string | null;
|