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
- API key without database.read/write
I had some issues with my previous API key and I deleted it then I wanted to create a new one and discovered the database checkbook has no database.read/write j...
- dynamic key missing scopes for database ...
Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked. Database 6 Scopes policies....
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...