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