1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00
Files
node-redis/packages/search/lib/commands/ALTER.ts
Avital Fine 01e66e7c8f Search commands (#1778)
* ft.alter

* ft.profile
2021-12-13 16:28:04 +01:00

11 lines
290 B
TypeScript

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