I want to fetch a set of records from a master table together with the associated data captured as relational columns. I’m using:
query.setRelationsDepth( 1 );
Backendless.Data.of("MASTERTABLE").find(query);
It’s really great to get a deep response object containing relations data as arrays.
The docs are mentioning:
" Loading relations with relation depth retrieves only a partial set of the related objects (default size of the retrieved related collection is 10). To load additional related objects, use the Relation Paging API."
My question is: How can I affect the paging size for related data when using .find(query)
?
The Relation Paging API is an API which gets the MASTERTABLE.objectId
as input. I cannot do this as in my case the set of objectIds is determined by a query.
Regards,