I am implementing followers and following system for my rn app, but unable to have relationship with same collection 2 times Eg.
- follower_id
- following_id
Both attributes should have relationship with users collection, How is it possible??
I have no problem creating more than one relationship in the same collection, are getting some error? can you share the attributes of the 3 collections?
I also don't have problem creating relationship more than one with different collections
I want multiple relationship with same collection
Is the Relationship one-to-many? Many-to-one? Etc
Many to many
Let me explain: I have two attributes
- follower_id
- following_id
I want to get both follower and following user data when I fetch document from followers collection, that's why I need relationship in both attributes with same collection
Yeah. I don’t think that’s possible at the moment.
When will appwrite support complex queries like Join, subqueries... Etc
Recommended threads
- Function connected custom domain error: ...
My domain is served through Cloudflare. Domain is now connected with the appwrite function. But when accessing the domain, I get the below error. Any suggestion...
- Error | general_unknown
I have built a website using Appwrite Cloud as backend, and also using sites for deployment. My website is live but sometimes it shows Appwrite's Error general_...
- Invalid token passed in the request
Hello, I have an issue using updateMagicURLSession. I send the email using sendMagicLink, which works fine. When i click the link in the email i get the invali...