Hello I have an Events Collection and an EventDiscussion collection where I have set up a one to many relationship where an Event can have many discussions. In the console I added an event discussion document to an event but when I query the event I see that the event discussion relationship has an empty array when clearly the console has a document attached. Is this a bug or should i be doing anything different. Seems pretty straight forward. Thanks!
What version of Appwrite?
Also I am using 1.3.3
and I used the migration tool
What permissions on both collections?
ahhhhhhhh. didn't set permissions on the discussions collection. Let me check that. 😆
That was the issue. Sorry sometimes I'm just hurrying and don't look for the obvious.
[SOLVED] Getting empty array back for a one to many relationship
Recommended threads
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...