Data Request
All methods below will return a promise
Declaring Variable
Methods
db.get(path)
db.getCollection(collection)
get(path)
This will return all fields inside the documents in json
getCollection(collection)
This method will returns an array of documents inside the specified collection
Last updated