Deletes a document in the db,returns an error if it doesn't exist
The key of the document.
The object should be null or undefined -_- or an error.
ensures a document exists in the db, creates a new document if it doesn't exist
The key of the document.
The value of the document.
The object of the document.
Gets a document from the db / returns an error if not found.
The key of the document.
The document or an error.
sets a document from the db, returns an error if it exists
The key of the document.
The object value of the document.
An error if document exists or creates the document.
updates a document from the db, returns an error if it doesn't exist (allows dot-notation)
The key of the document.
The new value of the document.
The document or an error.
The EnmapProvider class.