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!
TL;DR
To add friends in your database, you can create an array attribute of user IDs in the user collection. This way, you can fetch the profiles of friends when needed.