You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
16 lines
308 B
TypeScript
16 lines
308 B
TypeScript
interface DropIndexOptions {
|
|
DD?: true;
|
|
}
|
|
|
|
export function transformArguments(index: string, options?: DropIndexOptions): Array<string> {
|
|
const args = ['FT.DROPINDEX', index];
|
|
|
|
if (options?.DD) {
|
|
args.push('DD');
|
|
}
|
|
|
|
return args;
|
|
}
|
|
|
|
export declare function transformReply(): 'OK';
|