packages/search/lib/commands/ALTER.ts
raw| 1 | import { RediSearchSchema, pushSchema } from '.'; |
| 2 | |
| 3 | export function transformArguments(index: string, schema: RediSearchSchema): Array<string> { |
| 4 | const args = ['FT.ALTER', index, 'SCHEMA', 'ADD']; |
| 5 | pushSchema(args, schema); |
| 6 | |
| 7 | return args; |
| 8 | } |
| 9 | |
| 10 | export declare function transformReply(): 'OK'; |