Interface BaseQueryBuilder
Methods
buildFrom
- buildFrom(tables): string
-
Returns string
buildGroupBy
- buildGroupBy(cols): string
-
Returns string
buildHaving
- buildHaving(e, params): string
-
Returns string
buildJoin
- buildJoin(joins, params): string
-
Returns string
buildLimit
- buildLimit(limit, offset): string
-
Parameters
-
limit: number
-
offset: number
Returns string
buildOrderBy
- buildOrderBy(cols): string
-
Returns string
buildOrderByAndLimit
- buildOrderByAndLimit(sql, cols, limit, offset): string
-
Parameters
-
sql: string
-
cols: string[]
-
limit: number
-
offset: number
Returns string
buildSelect
- buildSelect(cols, distinct, option): string
-
Parameters
-
cols: string[]
-
distinct: boolean
-
option: string
Returns string
buildUnion
- buildUnion(unions, params): string
-
Returns string
buildWhere
- buildWhere(e, params): string
-
Returns string
BaseQueryBuilder provides a basic implementation of QueryBuilder.