Back

Querying specific relationship fields

  • 0
  • Databases
  • Web
nitz1990
14 Aug, 2024, 11:15

I have a collection that has several relationships to other collections. When querying this collection with the select query - I'm trying to select specific ones and not all the relationships fields, but for some reason, the response contains all the other relationships as well. For example: Query.select(["relationA"]) would also return "relationB"

TL;DR
Developers are trying to select specific relationship fields when querying a collection but are receiving all relationship fields in the response. This issue arises when using the select query and trying to select only certain relationships.
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