Backendless Support
 
Waiting for user's response

Backendless offset is not working ?

Backendless offset is not working properly.Even after changing the offset from 0 to 10 or to any value, it is always returning first 10 objects.

Please help to solve this object.

Leave a Comment

Comments (6)

photo
1

Please show the code snippet how you set the offset and specify which SDK do you use?

photo
1

I have used the syntax provided in paging section, I am using backendless 4, it is returning only first 10 objects even after setting offset 10 in the second query.

photo
1

Offset is like an indent - how many objects ahead you need to retrieve. If you want to increase count of object returning to you, set the pageSize property just like the offset.

photo
1

I have fetch and store in medicine array. You now check the syntax of offset and paging.

PLEASE SUGGEST THE CHANGE.

photo
1

The problem is that you're not passing the queryBuilder to the find call, while you should.

What doc page have you been referring to?

photo
photo
1

what language