Skip to content
Back

Get all Documents and Expanded Relationships

  • 0
  • React Native
  • Cloud
Charles
10 Jul, 2025, 00:28

I have multiple (quite small) collections that have many-to-many relationships.

How can we return all documents and expanded relationship for a specific collections.

I've searched the docs but wasn't able to find any relevant info.

Thanks

TL;DR
Developers are having issues getting all documents and expanded relationships. If there are existing relationships, querying for an item should return both the item and its related item. If nothing is being returned, there might be an issue with the query or the database setup.
Kenny
10 Jul, 2025, 02:00

If you have relationships just querying for an item should return it and it’s related item. Are you not getting anything?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more