Back

[SOLVED] When document linked Two Way, while fetching the document will we get all linked document?

  • 0
  • Databases
Vedsaga
16 May, 2023, 15:08

Two way link, from A <-> Z ; If we fetch A then we will get Z If we fetch Z then we will get A correct?

TL;DR
When using a two-way link between two documents, if we fetch Document A, we will also get Document Z. Similarly, if we fetch Document Z, we will get Document A. This is not the case for a one-way link, where only the linked document will be fetched.
hamed
16 May, 2023, 16:02

Yes, as far as I know.

Vedsaga
16 May, 2023, 16:07

mm, thanks just tested seems right

Vedsaga
16 May, 2023, 16:09

[SOLVED] When document linked Two Way, while fetching the document will we get all linked document?

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