Is there a way for me to fetch the result of +1 from a table without having to perform a listDocumen
- 0
- Databases
- Web
![](https://cdn.discordapp.com/avatars/932668767161426042/0a0e4522a48fba5c9621c538398c321f.webp)
Is there a way for me to fetch the result of +1 from a table without having to perform a listDocument one by one?
![](https://cdn.discordapp.com/avatars/287294735054274560/df2403bc98f4c150ecef94231b7b080a.webp)
Hi 👋 What do you mean by fetching result of +1? Do I understand correctly you need this to know if there is next page?
![](https://cdn.discordapp.com/avatars/932668767161426042/0a0e4522a48fba5c9621c538398c321f.webp)
I mean to bring the result from more than one collection at once, instead of fetching one by one. Is it possible? @Meldiron
![](https://cdn.discordapp.com/avatars/287294735054274560/df2403bc98f4c150ecef94231b7b080a.webp)
I see. In some scenarios you can use relationships. If an attribute is of type relationship, you automatically get the whole related document. If you cannot use relationships, in most scenarios you can optimize requests to only send as many requests, as many collections you have. This may mean 3 or 4 requests, but that shouldnt take too long. Last option would be to cache, if your queries dont fit into any of those categories. You can achieve client-side caching with localStorage or server-side caching by using Appwrite Functions
![](https://cdn.discordapp.com/avatars/932668767161426042/0a0e4522a48fba5c9621c538398c321f.webp)
ohhh, thanks. my bad about taking up your time with such a simple question, haha. Thank you!
Recommended threads
- need help in planning out a project
im working on a secret project and for it, i need to implement login. i have a db collection named `users` with `username` and `password`. idk if I can use Auth...
- Pdf showing problem
I clicked to open the pdf in my app and the pdf is opening after 2 minutes please solve the issue.
- User login method
I developed a Vite ReactJS web application where users log in using Google OAuth 2.0. Upon logging in, I retrieve the user's email and store it in the `users` c...
![](/images/bgs/pre-footer.png)