hi there, quick question! I'm using pagination as per this docs: https://appwrite.io/docs/products/databases/pagination
now, and I'm loading only 5 docs per page, still it's taking too much time to load single page, even 1st page. why? i tried both offset & cursor based both takes time.
- What exactly are all your queries?
- How many documents do you have in your collection?
- Where are you located?
- Queries:
Query.orderAsc("name"),
Query.limit(table.rowsPerPage), // table.rowsPerPage == 5
Query.cursorAfter(tableData[tableData.length - 1].$id), // using last doc's id
- 32 Documents
- India
I'm on pro plan with appwrite cloud.
And how long does this take?
Can you try adding an ascending key index on name?
14-16 secs
Recommended threads
- TEAM INVITE
There is a problem with the team invitation. When a user invites other users, that time, the newly created email address they don't get the invite link and old ...
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...