You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
10
packages/search/lib/commands/ALTER.ts
Normal file
10
packages/search/lib/commands/ALTER.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
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';
|
Reference in New Issue
Block a user