Back

Query relations

  • 0
  • Databases
  • React Native
qorinn
12 Feb, 2025, 18:52

I have 3 tables in relation, but I only get all 3 back if I get the last one. Which is bad because I can only query by the first one.

Expectation: Get the first table of the relation ad use query on it -> get back all tables in the relation

TL;DR
To fetch all tables in a relation based on the first one, developers need to utilize JOIN queries in SQL using the appropriate keys.
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