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
- [SOLVED] Get Relations when using Tables...
Hi there, I have a table containing a relation column with a one-to-many relationship to another table. When Using TablesDB.GetRow in "node-appwrite" i get all ...
- Transaction and Session
I've been debugging for hours a problem that now I think it's because It's not allowed: In my project a user log in using the `node-appwrite` SDK (SSR) I store...
- Appwrite loading issue with Nuxt UI
For some reason when I add nuxt ui to my nuxt 4 project, appwrite will build the project but the project website will load indefinitely. Without adding Nuxt UI,...