UNPKG

nexorm

Version:

A powerful TypeScript ORM with advanced features.

6 lines (5 loc) 422 B
import { Model, ModelStatic } from "sequelize"; import { SearchMethodsOptions } from "../decorator"; import CacheManager from "../util/cacheManager"; import { readConfig } from "../fileInspector"; export declare function distinct(model: ModelStatic<Model<any, any>>, field: string[], filter?: any, options?: SearchMethodsOptions<any>, cacheManager?: CacheManager, config?: ReturnType<typeof readConfig>[0]): Promise<any>;