Backendless Support
 
Waiting for user's response

Order of Autoload Return using REST API

When we make a call for a set of data and autoload for a specific column is turned on, what order does the child data get returned in? Is there a way to change the order in which it is returned?

@Mark, we spoke about this on the Slack channel.

Leave a Comment

Comments (2)

photo
1

Hi,

I checked, unfortunately, we do not have ability to sort related objects. And they returned without a specific sorting. If the count of objects is less than 100, you can specify a pageSize of 100 and sort them on the client. If there are more than 100, then alternatively the same can be done with the custom business logic, retrieving all objects and returning them in sorted order.

Regards,

Stanislaw

photo
1

Perfect. Thanks. Do you think you will ever add a feature to sort by the order the relationship was created?