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
:
Db
,
store
:
DataStore
)
:
Transaction
Parameters
db
:
Db
store
:
DataStore
Returns
Transaction
Methods
commit
commit
()
:
Promise
<
void
>
Commit the transaction.
Returns
Promise
<
void
>
delete
delete
(
name
:
Name
)
:
this
Delete a Data packet.
Parameters
name
:
Name
Returns
this
insert
insert
(
data
:
Data
,
opts
?:
InsertOptions
)
:
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.