sqlkit-monorepo
Preparing search index...
UpdateQueryBuilder
Class UpdateQueryBuilder<T>
Type Parameters
T
Hierarchy (
View Summary
)
BaseQueryBuilder
<
T
>
UpdateQueryBuilder
Index
Constructors
constructor
Properties
executor?
table
Name
Accessors
quoted
Table
Name
Methods
build
commit
returning
set
where
Constructors
constructor
new
UpdateQueryBuilder
<
T
>
(
tableName
:
string
,
executor
?:
SqlExecutor
<
T
>
,
)
:
UpdateQueryBuilder
<
T
>
Type Parameters
T
Parameters
tableName
:
string
Optional
executor
:
SqlExecutor
<
T
>
Returns
UpdateQueryBuilder
<
T
>
Properties
Protected
Optional
Readonly
executor
executor
?:
SqlExecutor
<
T
>
Protected
Readonly
table
Name
tableName
:
string
Accessors
Protected
quoted
Table
Name
get
quotedTableName
()
:
string
Returns
string
Methods
build
build
()
:
{
sql
:
string
;
values
:
any
[]
}
Returns
{
sql
:
string
;
values
:
any
[]
}
commit
commit
()
:
Promise
<
QueryResult
<
any
>
>
Returns
Promise
<
QueryResult
<
any
>
>
returning
returning
(
columns
?:
(
keyof
T
)
[]
)
:
this
Parameters
Optional
columns
: (
keyof
T
)
[]
Returns
this
set
set
(
data
:
Partial
<
T
>
)
:
this
Parameters
data
:
Partial
<
T
>
Returns
this
where
where
(
condition
:
WhereCondition
<
T
>
)
:
this
Parameters
condition
:
WhereCondition
<
T
>
Returns
this
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
executor
table
Name
Accessors
quoted
Table
Name
Methods
build
commit
returning
set
where
sqlkit-monorepo
Loading...