@the-gear/pg-query-builder
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Select
Builder
constructor
command
joins
limit
order
Columns
params
selection
table
Source
wheres
create
Query
from
join
order
By
select
set
Command
set
Limit
where
Sql
Fragment
Hierarchy
SelectBuilder
Index
Constructors
constructor
Properties
command
joins
limit
order
Columns
params
selection
table
Source
wheres
Methods
create
Query
from
join
order
By
select
set
Command
set
Limit
where
Constructors
constructor
new
Select
Builder
(
tableSource
?:
SqlFragment
|
null
)
:
SelectBuilder
Parameters
Default value
tableSource:
SqlFragment
|
null
= null
Returns
SelectBuilder
Properties
Private
command
command
:
SqlFragment
= "SELECT"
Private
joins
joins
:
SqlFragment
[]
= []
Private
limit
limit
:
number
|
null
= null
Private
order
Columns
order
Columns
:
SqlFragment
[]
= []
Private
params
params
:
any
[]
= []
Private
selection
selection
:
SqlFragment
[]
= []
Private
table
Source
table
Source
:
SqlFragment
|
null
Private
wheres
wheres
:
SqlFragment
[]
= []
Methods
create
Query
create
Query
(
)
:
object
Returns
object
params
:
any
[]
query
:
string
from
from
(
tableSource
:
SqlFragment
)
:
this
Parameters
tableSource:
SqlFragment
Returns
this
join
join
(
join
:
SqlFragment
)
:
this
Parameters
join:
SqlFragment
Returns
this
order
By
order
By
(
...
orderColumns
:
SqlFragment
[]
)
:
this
Parameters
Rest
...
orderColumns:
SqlFragment
[]
Returns
this
select
select
(
...
columns
:
SqlFragment
[]
)
:
this
Parameters
Rest
...
columns:
SqlFragment
[]
Returns
this
set
Command
set
Command
(
command
:
SqlFragment
)
:
this
Parameters
command:
SqlFragment
Returns
this
set
Limit
set
Limit
(
maxRows
:
number
)
:
this
Parameters
maxRows:
number
Returns
this
where
where
(
condition
:
SqlFragment
,
...
params
:
any
[]
)
:
this
Parameters
condition:
SqlFragment
Rest
...
params:
any
[]
Returns
this
Generated using
TypeDoc