![](https://cdn.discordapp.com/avatars/1255862522779664446/8569adcbd36c70a7578c017bf5604ea5.webp)
Hello community! Maybe my question is a bit dumb… but, I will try my luck here 🙂 in my database, I am having users as a collection, and I want users to have friends (who are also users), but in “relationship” i could’t choose its own collection. What should I do? Thank you!
![](https://cdn.discordapp.com/avatars/186656408450629633/a_1020a50ae94486c09c02e2868564778d.gif)
self relationships are not a thing currently, off the top of my head I think having an array attribute of user ids would be fine, and then you would fetch those profiles when necessary.
Recommended threads
- GET https://cloud.appwrite.io/v1/account...
create project, create sdk , set the hostname to localhost , give the database as well as storage permission to th user still giving the error
- Getting error "[AppwriteException: User ...
Hey guys, I searched the docs, but didn't find a solution. Basically I am making a CRUD app, using react native and email auth in app write. I am getting an e...
- Query one way relationship
Hey there, thanks trying to help me! 👋 I know that querying relationships is currently not possible but I wonder in which extend? I have a „Cars“ Database whe...
![](/images/bgs/pre-footer.png)