SQLQueryHelperjs - v1.2.6
Preparing search index...
index
PostgresUpdateBuilder
Class PostgresUpdateBuilder
Hierarchy (
View Summary
)
PostgresUpdateBuilder
MySqlUpdateBuilder
Index
Constructors
constructor
Methods
set
where
and
Where
or
Where
returning
to
SQL
run
run
Async
all
Returning
first
Returning
all
Returning
Async
first
Returning
Async
Constructors
constructor
new
PostgresUpdateBuilder
(
connection
:
PostgresQueryConnection
,
table
:
string
,
)
:
PostgresUpdateBuilder
Parameters
connection
:
PostgresQueryConnection
table
:
string
Returns
PostgresUpdateBuilder
Methods
set
set
(
values
:
QuerySetValues
)
:
this
Parameters
values
:
QuerySetValues
Returns
this
where
where
(
condition
:
string
,
...
params
:
QueryValue
[]
)
:
this
Parameters
condition
:
string
...
params
:
QueryValue
[]
Returns
this
and
Where
andWhere
(
condition
:
string
,
...
params
:
QueryValue
[]
)
:
this
Parameters
condition
:
string
...
params
:
QueryValue
[]
Returns
this
or
Where
orWhere
(
condition
:
string
,
...
params
:
QueryValue
[]
)
:
this
Parameters
condition
:
string
...
params
:
QueryValue
[]
Returns
this
returning
returning
(
columns
?:
SelectColumns
)
:
this
Parameters
columns
:
SelectColumns
= "*"
Returns
this
to
SQL
toSQL
()
:
QueryBuildResult
Returns
QueryBuildResult
run
run
()
:
Promise
<
{
rowCount
:
number
}
>
Returns
Promise
<
{
rowCount
:
number
}
>
run
Async
runAsync
()
:
Promise
<
{
rowCount
:
number
}
>
Returns
Promise
<
{
rowCount
:
number
}
>
all
Returning
allReturning
<
TRow
extends
QueryResultRow
=
QueryResultRow
>
()
:
Promise
<
TRow
[]
>
Type Parameters
TRow
extends
QueryResultRow
=
QueryResultRow
Returns
Promise
<
TRow
[]
>
first
Returning
firstReturning
<
TRow
extends
QueryResultRow
=
QueryResultRow
>
()
:
Promise
<
TRow
|
undefined
,
>
Type Parameters
TRow
extends
QueryResultRow
=
QueryResultRow
Returns
Promise
<
TRow
|
undefined
>
all
Returning
Async
allReturningAsync
<
TRow
extends
QueryResultRow
=
QueryResultRow
>
()
:
Promise
<
TRow
[]
,
>
Type Parameters
TRow
extends
QueryResultRow
=
QueryResultRow
Returns
Promise
<
TRow
[]
>
first
Returning
Async
firstReturningAsync
<
TRow
extends
QueryResultRow
=
QueryResultRow
>
()
:
Promise
<
TRow
|
undefined
,
>
Type Parameters
TRow
extends
QueryResultRow
=
QueryResultRow
Returns
Promise
<
TRow
|
undefined
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
set
where
and
Where
or
Where
returning
to
SQL
run
run
Async
all
Returning
first
Returning
all
Returning
Async
first
Returning
Async
SQLQueryHelperjs - v1.2.6
Loading...