WarpJS Persistence layer
npm install @warp-works/warpjs-persistenceAbstract class to implement.
Closes the database connection. Returns a promise.
Getter to list all databases available.
Getter to list all collections available.
Retrieves documents given the query from the collection collectionName. IfconvertId is true.
Retrieve the document.
Creates a new document in the collection collectionName.
Updates the document doc in the collection collectionName.
To document.
Create a backup of the database and put the output in outputFolder. Gets the
implementation configuration from config. Returns a promise.