1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00
Files
node-redis/packages/client/lib/commands/XDEL.ts
Leibale 9faa3e77c4 WIP
2023-04-23 07:56:15 -04:00

14 lines
424 B
TypeScript

import { RedisCommandArgument, RedisCommandArguments } from '.';
import { pushVariadicArguments } from './generic-transformers';
export const FIRST_KEY_INDEX = 1;
export function transformArguments(
key: RedisCommandArgument,
id: RedisCommandArgument | Array<RedisCommandArgument>
): RedisCommandArguments {
return pushVariadicArguments(['XDEL', key], id);
}
export declare function transformReply(): number;