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
- Realtime api and labels as permission
in my tables i set labels as permission and real-time capabilities stopped working. Before when i was having "any" role everything was working. Note: user have...
- Sveltekit + Bun sites runtime not deploy...
anyone tried deploying sveltekit + bun sites? its building but not running, and the only thing from build console to value is ``` > Using svelte-adapter-bun .s...
- Domain is owned by a different organizat...
I was trying to add a domain to one of my projects however, it keeps giving me the error of Domain is owned by a different organization. I did have a self hoste...