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!
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
- DB connection | Got timeout reading comm...
When looking at the logs of `appwrite-mariadb` I'm seeing a lot of: ``` 2026-04-09 7:37:28 10 [Warning] Aborted connection 10 to db: 'appwrite' user: 'appwrit...
- Invalid document structure: Unknown attr...
Environment: Dart version: 3.5.1 dart_appwrite: 13.0.0 I’ve already created the database structure using a Dart function. I can create data records using cloud...
- Help with nameservers
I just added our domain, and as per instruction in the page following, it says, "Add the following nameservers on your DNS provider. ..." I want to keep my cu...