Hello, I have a situation where the pagination query misses 1 count from the record. I have 153 records in database. But, when i queried them out (with offset and limit = 100), i can only get a total of 152.
I tried both client SDK and server SDK (in case of permission issue). Both gave me the same 152 count instead of 153. Here're all the screenshots.
Would you know why is that so? Thanks.
The second request should have an offset of 100
ah, my bad. Thanks very much @Steven
:sadge: I think I need to revisit the pagination guide
I don't know if the current hardcoded example is the best way
to show how it's intended to be used. Maybe we should also have programmatic examples
Thanks @VincentGe. The sample in the doc is good. it is clearly using "last count." I overlooked it and went with "next count" which is similar to my other project.
Recommended threads
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...
- Need help to create a wrapper which let ...
I’m looking for help setting up Appwrite properly on a VPS so I can build a self-hosting wrapper around it. The goal is to provide a Linux executable that allow...