Clear the entire datastore
Retrieve the JSON from the file to be loaded into the datastore indices
the path to the element in the object
Get item by key
Iterate every key-value pair, IterationCallback should return truthy to break iteration(resulting in promise resolution) IterationCallback should throw exceptions if error occurs, this will be caught by the promise and propagate up the promise chain and handled accordingly. TODO: Add Error types for StorageDrivers
Function to iterate key values pairs, return truthy to break iteration
Retrieve all keys - _ids of all documents for this
Remove the saved JSON of a specific Index
Remove item by key
Insert or Modify key-value pair
Store the index into its own file
the path to the element in the object
the JSON index
Generated using TypeDoc
Pluggable Storage Drivers You can create plugins for TeDB to provide different mediums of storage. Below you'll find methods that TeDB will expect in your plugin. Storage plugins implement a simple key-value store.