Preparing search index...
The search index is not available
NDNts
NDNts
@ndn/repo
Transaction
Class Transaction
DataStore update transaction.
Index
Constructors
constructor
Methods
commit
delete
insert
Constructors
constructor
new
Transaction
(
db
,
store
)
:
Transaction
Parameters
db
:
Db
store
:
DataStore
Returns
Transaction
Methods
commit
commit
(
)
:
Promise
<
void
>
Commit the transaction.
Returns
Promise
<
void
>
delete
delete
(
name
)
:
this
Delete a Data packet.
Parameters
name
:
Name
Returns
this
insert
insert
(
data
,
opts
?
)
:
this
Insert a Data packet.
Parameters
data
:
Data
opts
:
InsertOptions
= {}
Returns
this
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
commit
delete
insert
NDNts
Loading...
DataStore update transaction.