UNPKG

falkordb

Version:
60 lines (59 loc) 2.27 kB
import * as CONFIG_GET from './CONFIG_GET'; import * as CONFIG_SET from './CONFIG_SET'; import * as DELETE from './DELETE'; import * as EXPLAIN from './EXPLAIN'; import * as INFO from './INFO'; import * as LIST from './LIST'; import * as PROFILE from './PROFILE'; import * as QUERY from './QUERY'; import * as RO_QUERY from './RO_QUERY'; import * as SLOWLOG from './SLOWLOG'; import * as CONSTRAINT_CREATE from './CONSTRAINT_CREATE'; import * as CONSTRAINT_DROP from './CONSTRAINT_DROP'; import * as COPY from './COPY'; import * as SENTINEL_MASTER from './SENTINEL_MASTER'; import * as SENTINEL_MASTERS from './SENTINEL_MASTERS'; import { RedisCommandArgument, RedisCommandArguments } from '@redis/client/dist/lib/commands'; declare const _default: { CONFIG_GET: typeof CONFIG_GET; configGet: typeof CONFIG_GET; CONFIG_SET: typeof CONFIG_SET; configSet: typeof CONFIG_SET; DELETE: typeof DELETE; delete: typeof DELETE; EXPLAIN: typeof EXPLAIN; explain: typeof EXPLAIN; INFO: typeof INFO; info: typeof INFO; LIST: typeof LIST; list: typeof LIST; PROFILE: typeof PROFILE; profile: typeof PROFILE; QUERY: typeof QUERY; query: typeof QUERY; RO_QUERY: typeof RO_QUERY; roQuery: typeof RO_QUERY; SLOWLOG: typeof SLOWLOG; slowLog: typeof SLOWLOG; CONSTRAINT_CREATE: typeof CONSTRAINT_CREATE; constraintCreate: typeof CONSTRAINT_CREATE; CONSTRAINT_DROP: typeof CONSTRAINT_DROP; constraintDrop: typeof CONSTRAINT_DROP; COPY: typeof COPY; copy: typeof COPY; SENTINEL_MASTER: typeof SENTINEL_MASTER; sentinelMaster: typeof SENTINEL_MASTER; SENTINEL_MASTERS: typeof SENTINEL_MASTERS; sentinelMasters: typeof SENTINEL_MASTERS; }; export default _default; type QueryParam = null | string | number | boolean | QueryParams | Array<QueryParam>; type QueryParams = { [key: string]: QueryParam; }; export interface QueryOptions { params?: QueryParams; TIMEOUT?: number; } export type QueryOptionsBackwardCompatible = QueryOptions | number; export declare function pushQueryArguments(args: RedisCommandArguments, graph: RedisCommandArgument, query: RedisCommandArgument, options?: QueryOptionsBackwardCompatible, compact?: boolean): RedisCommandArguments;