Links
Comment on page

Query a Collection

Here we will show you how you can query all documents defined by a collection
var options = {};
api.getCollection('blogPosts', options)
.then(result => {
// futher implementation
})
.catch(err => {
throw err;
})

Available query options: