UNPKG

database-builder

Version:

Library to assist in creating and maintaining SQL commands.

15 lines (14 loc) 634 B
import { QueryBuilderBaseContract } from "./query-builder-base-contract"; import { WhereCompiled } from "../where-compiled"; import { ParamType } from "../../core/utils"; import { ProjectionModel } from "../projection-model"; export interface JoinQueryBuilderContract<T, TQuery extends JoinQueryBuilderContract<T, TQuery>> extends QueryBuilderBaseContract<T, TQuery> { _getOn(): WhereCompiled; _getTypeJoin(): string; _getWhere(): WhereCompiled; _getProjections(): ProjectionModel[]; _getGroupBy(): string; _getHaving(): WhereCompiled; _getOrderBy(): string; _getParams(): ParamType[]; }