LiteDB Addon is a local NoSQL database management plugin, it works just like MongoDB but all your databases will be saved locally.
This command Connects to a lite DB local database, you will just need to point to the database file.
This command gets all the data from a given collection and saves it in a dataset variable, you just have to specify the collection name and the dataset variable name.
This command inserts a collection of data (from a parameters field) into a collection. you just need to specify a collection name to insert your data to and the data to insert, which you can add using a parameters field, which when you click on edit it shows a dictionary editor which will allow you to add your data entries in the form of an entry name and entry value.
This commands updates data in your collection, all you have to do is just specify the collection name, and the filter query to look for the exact data you want to update (supports a syntax similar to JSONPath), and the data you want to update (using the parameters field) and choose if or not you want to add the data if it doesn't exist.
Expressions are path or formulas to access and modify the data inside a document. Based on the concept of JSON path (http://goessner.net/articles/JsonPath/), LiteDB supports a similar syntax to navigate inside a document.
The Path starts with $: $.Address.Street, where $ represents the root document. The $ symbol are optional and default in document navigation (Address.Street works too)
Path also supports expressions to filter child nodes
$.Books[@.Title = 'John Doe'] - Returns all books where Title is 'John Doe'
$.Books[@.Price > 100].Title - Returns all titles where Price is greater than 100
Inside an array, @ acts as a sub-iterator, pointing to the current sub-document. It’s possible use functions inside expressions too: