Skip to content
Init is coming / May 19 - 23
Back

Clarification on two-way relationships

  • 0
  • Tools
  • Databases
  • General
Shuflduf
1 Jan, 2025, 05:27

this might be a bug, and i need someone to tell me if it is, but when i create a many-to-one relation between two collections in a database, it looks properly when looking at the attribute in place where it was created (image 1), but going to the attribute in the other document collection, it maintains the exact same relation, when i believe it should be flipped (image 2)

TL;DR
Issue: Two-way relationships between collections not reflecting correctly. The developer is facing an issue where a many-to-one relationship between two collections in a database is not displaying correctly in one of the collections. The relationship should be flipped in one of the collections, but it appears to be the same as the original one. Solution: The developer might need to adjust the relationship settings or mappings to ensure the correct representation of the two-way relationship between the collections.
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