UNPKG

sqlite3orm

Version:

ORM for sqlite3 and TypeScript/JavaScript

10 lines (9 loc) 468 B
import { MetaModel } from '../metadata'; import { QueryOperation } from './QueryOperation'; import { QueryPropertyPredicate } from './QueryPropertyPredicate'; import { ModelPredicates } from './Where'; export declare class QueryModelPredicates<MT> implements QueryOperation { subOperations: QueryPropertyPredicate<MT[keyof MT]>[]; constructor(pred: ModelPredicates<MT>); toSql(metaModel: MetaModel, params: object, tablePrefix: string): Promise<string>; }