The prelude in Appwrite's Relationships Documentation states:
*Entities in real-life often associate with each other in an organic and logical way, like a person and their dog, an album and its songs, or friends in a social network.
These types of association between entities can be modeled in Appwrite using relationships.*
However, when I create a relationship attribute in a collection, I see no option to relate the collection to Users. So, I don't see how I can create, for example, a Tasks collection with a many to one relationship with Users.
Moreover, it also doesn't seem to be possible to relate a collection to itself. So, for example, if I wanted to use relationship attributes to model a parent task and subtasks structure in my Tasks collection, I can't because Appwrite doesn't show me the current collection as an option in the dropdown of available collections when I create a relationship attribute.
Also, to support users having friends or similar functionality, it should be possible to also relate Users to Users, but it seems the Users list/collection one gets as people sign up to their app isn't treated as a regular collection at all, so I can't add custom attributes to Users nor relate them to anything.
Am I missing something, or is it really not possible to relate collections to Users and collections to themselves? Because if those two aren't supported yet, then much of what the prelude in the Relationship docs tease with isn't even possible to do with Appwrite's Relationships yet.
Thank you for reading, I appreciate any pointers! :appwriteheart:
Recommended threads
- Help Needed: "The current user has been ...
Facing a 403 Forbidden error with the message "The current user has been blocked" while trying to log in via GitHub and Email/Password. This is happening on a ...
- Unable to signup to appwrite cloud
When attempting to create an online cloud account on appwrite.io, I get the following message : "This email address must already be in its canonical form. Pleas...
- Email address must be in its canonical f...
Hello, Recently I was trying to signup with my GitHub account with appwrite account for availing the student benifits but while trying to signup I saw such erro...