sqlkit-monorepo
Preparing search index...
InsertQueryBuilder
Class InsertQueryBuilder<T>
Type Parameters
T
Hierarchy (
View Summary
)
BaseQueryBuilder
<
T
>
InsertQueryBuilder
Index
Constructors
constructor
Properties
executor?
table
Name
Accessors
quoted
Table
Name
Methods
build
commit
returning
values
Constructors
constructor
new
InsertQueryBuilder
<
T
>
(
tableName
:
string
,
executor
?:
SqlExecutor
<
T
>
,
)
:
InsertQueryBuilder
<
T
>
Type Parameters
T
Parameters
tableName
:
string
Optional
executor
:
SqlExecutor
<
T
>
Returns
InsertQueryBuilder
<
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
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
Accessors
quoted
Table
Name
Methods
build
commit
returning
values
sqlkit-monorepo
Loading...