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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Edit ID of an existing collection
Hi there. Is it possible to edit an ID of an existing collection? Right now it looks impossible from AppWrite cloud at least.
- Seed db
hello there... is this correct way to seed appwrite