I'm working with Titanium and developing for iOS and I've come across a small problem, when I want to make a query for custom objects from a certain classname I'm only able to get the last 10 objects, this is how I make the query:
Cloud.Objects.query({
classname : 'Reservacion'
}, function(e){
if(e.success){
reservaciones = e.Reservacion; //assign the custom objects to an array
}else {
alert('Error: ' + e.error + e.message);
}
});
Am I missing something? I know I could specify the number page to retrieve the rest of the objects but the amount of pages will keep growing so I need to find a way to retrieve all of the custom objects for a specific classname. Can anyone give me guidelines on how to solve this?