Preparing search index...
The search index is not available
Dappetizer
Dappetizer
@tezos-dappetizer/database
InsertCommand
Class InsertCommand<TEntity>
Type Parameters
TEntity
extends
object
Hierarchy
InsertCommand
Implements
DbCommand
<
InsertResult
>
Index
Constructors
constructor
Properties
description
entities
entity
Type
ignore
If
Exists
Methods
execute
Constructors
constructor
new
Insert
Command
<
TEntity
>
(
entityType
:
Constructor
<
TEntity
>
, entities
:
ReadonlyArrayOrSingle
<
DeepPartial
<
TEntity
>
>
, options
?:
{
ignoreIfExists
?:
boolean
;
}
)
:
InsertCommand
<
TEntity
>
Type Parameters
TEntity
extends
object
Parameters
entityType:
Constructor
<
TEntity
>
entities:
ReadonlyArrayOrSingle
<
DeepPartial
<
TEntity
>
>
Optional
options:
{
ignoreIfExists
?:
boolean
;
}
Optional
Readonly
ignore
If
Exists
?:
boolean
Returns
InsertCommand
<
TEntity
>
Properties
Readonly
description
description
:
string
Readonly
entities
entities
:
readonly
DeepPartial
<
TEntity
>
[]
Readonly
entity
Type
entity
Type
:
Constructor
<
TEntity
>
Readonly
ignore
If
Exists
ignore
If
Exists
:
boolean
Methods
execute
execute
(
dbManager
:
EntityManager
)
:
Promise
<
InsertResult
>
Parameters
dbManager:
EntityManager
Returns
Promise
<
InsertResult
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Dappetizer
@tezos-
dappetizer/database
@tezos-
dappetizer/decorators
@tezos-
dappetizer/indexer
@tezos-
dappetizer/utils
Insert
Command
constructor
description
entities
entity
Type
ignore
If
Exists
execute
Generated using
TypeDoc