1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
Files
node-redis/packages/search/lib/commands/ALTER.ts
Leibale Eidelman e265c521e8 export RediSearchSchema type (#1825)
* export RediSearchSchema type

* export SearchOptions and SearchReply
2022-02-07 15:28:09 -05:00

11 lines
298 B
TypeScript

import { RediSearchSchema, pushSchema } from '.';
export function transformArguments(index: string, schema: RediSearchSchema): Array<string> {
const args = ['FT.ALTER', index, 'SCHEMA', 'ADD'];
pushSchema(args, schema);
return args;
}
export declare function transformReply(): 'OK';