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
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Need Help with Google OAuth2 in Expo usi...
I'm learning React Native with Expo and trying to set up Google OAuth2 with Appwrite. I couldn't find any good docs or tutorials for this and my own attempt did...