Preparing search index...
The search index is not available
NDNts
NDNts
@ndn/repo-api
DataStore
Insert
Interface Insert<Options>
DataStore interface, insert method.
interface
Insert
<
Options
>
{
insert
:
(
(
...
args
:
[
...
(
object
extends
Options
?
[
]
|
[
Options
]
:
[
]
)
[]
,
...
(
Data
|
AnyIterable
<
Data
>
)
[]
]
)
=>
Promise
<
void
>
)
;
}
Type Parameters
Options
extends
{}
=
{}
Hierarchy
Insert
Implemented by
BulkInsertInitiator
DataArray
Index
Properties
insert
Properties
insert
insert
:
(
(
...
args
:
[
...
(
object
extends
Options
?
[
]
|
[
Options
]
:
[
]
)
[]
,
...
(
Data
|
AnyIterable
<
Data
>
)
[]
]
)
=>
Promise
<
void
>
)
Insert one or more Data packets.
Remarks
Arguments include:
an optional Options object
zero or more Data, Iterable
, or AsyncIterable
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
insert
NDNts
Loading...
DataStore interface, insert method.