Backendless Version (3.x / 5.x, Online / Managed / Pro )
Client SDK (REST / Android / Objective-C / Swift / JS )
Please describe the expected behavior of the issue, starting from the first action.
According to the API docs the syntax to set the pageSize is:
and to set sortBy is:
queryBuilder.setSortBy(sortBy: [“name”, “age DESC”])
Both of these gave me errors. After looking at the definition of the DataQueryBuilder class I discovered that there is no setter for pageSize and the sortBy version of setSortBy takes a single string parameter. To pass and array of strings you use listSortBy.
I used the following syntax to clear the errors:
let queryBuilder = DataQueryBuilder()
queryBuilder.pageSize = 100
Is it the case that the API docs are out of date?