Hi there ! I have a collection with a relationship to another and I'm trying to use realtime on that first collection. It seems like when receiving the event on the Flutter side, the relationship isn't part of the payload. Although, it seems to work fine when using basic HTTP request through SDK and not realtime.
I'm wondering, how does realtime handles collection relationships ? Am I missing something ? Thanks a lot !
It doesn't. They aren't included for security/speed
Keep in mind relationships are experimental and can lead to performance problems so use them sparingly
I understand, thank you for the heads up ! Is this considerated as a possible improvement in the future of relationships ?
Possibly, but unlikely. We'd have to run through each document for each subscriber to check if they have access. That could be expensive for something that should be fast
Indeed, it might be too extensive. That's alright, I'll find another way around, thank you for your time ! Loving Appwrite so far 🔥
Recommended threads
- SELF HOSTING ISSUE, DATA NOT MIGRATING T...
Hey, devs, I recently tried to migrate my cloud instance to a self hosted version but my data is not transferred fully only the table structure is transferred ...
- No Document ID?
Hi I have a self hosted appwrite. My documents get a document ID but are not visible in the console. I don't know why this happens and how to fix this
- How to determine if a user is anonymous?
This is probably a silly question, but I have not yet found a good answer. Is there a method to determine if the current session is anonymous aside from seein...