My code:
$result_collection = Backendless::$Persistence->of("table_name")->find()->getAsObjects();
$count = sizeof($result_collection);
The size is always 10. I wonder why?
My code:
$result_collection = Backendless::$Persistence->of("table_name")->find()->getAsObjects();
$count = sizeof($result_collection);
The size is always 10. I wonder why?
Page size by default is 10.
But you can set your custom data size with setPageSize() function.
https://backendless.com/documentation/data/php/data_search_and_query.htm
Yes, I tried. The max pageSize is 100. What if I need more than 100?
For this use case you should implement paging algorithm
https://backendless.com/feature-17-data-paging-or-how-to-efficiently-load-large-data-sets-in-a-mobile-app/