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
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.