I am attempting to iterate through all bus objects and update their details by querying another class called bus stop. The approach I took looks like this:
busQuery.each(function(bus){
var busRouteQuery = new Parse.Query("busRoute");
busRouteQuery.find({
//retrieve data from bus stop and update bus location
success: function(results){
},
error: function(){
}
});
});
However, the inner busRouteQuery appears to never get triggered. Any suggestions on how to resolve this issue?