Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

cls_

cls_: Function | undefined

groupBy_

groupBy_: string[] = []

joinOn_

joinOn_: Array<object> = []

joinUsings_

joinUsings_: string[] = []

limit_

limit_: number

offset_

offset_: number

orderBys_

orderBys_: object[] = []

selectFields_

selectFields_: string[] = []

table_

table_: string

where_

where_: string

Methods

from

  • from(table: string): this

fromClass

  • fromClass(cls: Function): this

fromTable

  • fromTable(table: string): this

groupBy

  • groupBy(...fields: string[]): this

innerJoin

  • innerJoin(tableName: string): this

join

  • join(tableName: string): this

joinUsing

  • joinUsing(joninStr: string): this

leftJoin

  • leftJoin(tableName: string): this

on

  • on(onStr: string): this

orderBy

  • orderBy(sort: string, order?: "ASC" | "DESC"): this

rightJoin

  • rightJoin(tableName: string): this

select

  • select(fields?: string[]): this

setLimit

  • setLimit(limit: number): this

setOffset

  • setOffset(offset: number): this

type

where

  • where(...args: any[]): this

whereWithParam

  • whereWithParam(sql: string, sqlValues: any): this