Skip to content
Back

Relationships and Realtime

  • 0
  • 2
  • Databases
  • Realtime
M4dhav
4 Jan, 2026, 15:01

Since now Relationship attributes are only returned when explicitly queried, how does this change reflect in Realtime? If a listener is listening to a row from a collection that has a Relationship Attribute, are related rows also returned when an update is detected on the row and the listener triggers it's callback?

Does this behavior differ based on whether it was the relationship attribute that was updated or not?

TL;DR
Realtime does not return relationships, so you will need to run a query on the row every time the listener detects an update to get related documents.
4 Jan, 2026, 18:53

relationships are not returned as part of realtime

5 Jan, 2026, 11:26

So for a use case where I am listening to a realtime stream and I want the related documents, will I need to run a query on the row everytime the listener detects an update?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more