I'm new to BaasBox. Can i have answer for how to get all the document ID's in a collection of BaasBox using javascript.? Thanks in advance.
I have tried this code and i'm able to manage with it. Hope it may help someone.
BaasBox.loadCollection("Loyalties")
.done(function(res) {
for (var i=0; i<res.length; i++){
if( res[i].email == "xyz@xyz.com")
console.log("result ", res[i].id);
}
})
.fail(function(error) {
console.log("error ", error);
})