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
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Upsert with setting permissions
Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an ser...
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...