1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00
Files
node-redis/lib/commands/LINDEX.ts

12 lines
316 B
TypeScript

import { transformReplyNumberNull } from './generic-transformers';
export const FIRST_KEY_INDEX = 1;
export const IS_READ_ONLY = true;
export function transformArguments(key: string, element: string): Array<string> {
return ['LINDEX', key, element];
}
export const transformReply = transformReplyNumberNull;