UNPKG

cosmos-db-repositories

Version:
31 lines (30 loc) 771 B
declare class BuildInstance { private template; private isDistinct; private topValue; private listOfColumns; private whereQuery; private sortDirection; private sortProperties; columns(...columns: any[]): this; distinct(isDistinct?: true): this; sort(...columns: any[]): this; asc(): this; top(top: number): this; where(where: string): this; desc(): this; build(): string; } declare const _default: { build: ({ searchValue, searchFields, matchFields, orderBy }: { searchValue: string; searchFields: string[]; matchFields: any; orderBy: string; }) => { query: string; parameters: any[]; }; instance: () => BuildInstance; }; export default _default;