Load relations in pages ?

Hi, i want to ask is it possible to load related objects in pages somehow.

For example i have Channel and Videos entities. Channel can have many Videos.
I want to retrieve all videos for the channel but if i do it in one request its too slow. I want to get some videos so there is something to show to the user while the others are retrieved. Also i need to fetch them in some sort order .

Stefan,

In order to load your data objects with paging, you need to direct the request to the Videos table. If you know the “parent”'s objectId, then the whereClause could look like this:

Channel[videos].objectId = ‘specific-channel-objectId’

where “videos” is the name of the relation which contains channel’s video object.

Hope this helps.

Mark

It helped, thanks for the fast reply