nexorm
Version:
A powerful TypeScript ORM with advanced features.
6 lines (5 loc) • 418 B
TypeScript
import { Model, ModelStatic } from "sequelize";
import { SearchMethodsOptions } from "../decorator";
import { CacheManager } from "../util/cacheManager";
import { cachedConfig } from "../fileInspector";
export declare function distinct(model: ModelStatic<Model<any, any>>, field: string[], filter?: any, options?: SearchMethodsOptions<any>, cacheManager?: CacheManager, config?: typeof cachedConfig[0]): Promise<any>;