1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00
Files
node-redis/lib/commands/GET.ts

13 lines
343 B
TypeScript

import { TransformArgumentsReply } from '.';
import { transformReplyString } from './generic-transformers';
export const FIRST_KEY_INDEX = 1;
export const IS_READ_ONLY = true;
export function transformArguments(key: string | Buffer): TransformArgumentsReply {
return ['GET', key];
}
export const transformReply = transformReplyString;