Files
module4_backend_project/node_modules/@redis/search/dist/commands/CREATE.d.ts
T

22 lines
692 B
TypeScript
Raw Normal View History

2025-02-11 15:06:41 +01:00
import { RedisSearchLanguages, PropertyName, RediSearchSchema } from '.';
interface CreateOptions {
ON?: 'HASH' | 'JSON';
PREFIX?: string | Array<string>;
FILTER?: string;
LANGUAGE?: RedisSearchLanguages;
LANGUAGE_FIELD?: PropertyName;
SCORE?: number;
SCORE_FIELD?: PropertyName;
MAXTEXTFIELDS?: true;
TEMPORARY?: number;
NOOFFSETS?: true;
NOHL?: true;
NOFIELDS?: true;
NOFREQS?: true;
SKIPINITIALSCAN?: true;
STOPWORDS?: string | Array<string>;
}
export declare function transformArguments(index: string, schema: RediSearchSchema, options?: CreateOptions): Array<string>;
export declare function transformReply(): 'OK';
export {};