Store based on MongoDB
Creates an instance of MongoStore.
MongoStore
Protected
Clear the store.
{Promise}
Clear all prepare operation cache.
Use the commit() method to actually submit all prepare changes.
Get nodes for a key. Error is thrown when a key that does not exist is being accessed.
{Promise<Field[]>}
Get the tree root. Error is thrown when the root does not exist.
Get the value for a key. Error is thrown when a key that does not exist is being accessed.
Get values map, key is Field.toString().
{Promise<Map<string, V>>}
Prepare delete nodes for a key. Use the commit() method to actually submit changes.
Prepare delete the value for a key. Use the commit() method to actually submit changes.
Prepare put nodes for a key. Use the commit() method to actually submit changes.
Prepare put the value for a key. Use the commit() method to actually submit changes.
Prepare update the root. Use the commit() method to actually submit changes.
Convert value string to a value of FieldElements type.
{V}
Serialize the value of the FieldElements type into a string
{string}
RocksStore
Generated using TypeDoc
Store based on MongoDB
Implements