Payload Does Not Include Attributes Linked to Other Collections in Appwrite Real-Time Subscription
- 0
- Self Hosted
- Flutter
- Databases
- Realtime
Hello,
I'm using Appwrite's real-time subscriptions to listen for updates in the matches collection. However, when a match document is updated, the payload does not include the referenced league field, even though it's a reference to another collection.
Here are the attributes in the document (image attached), but the payload only returns some data. Fields like league, home, and away, which are references to other collections, are not included in the payload.
Example of the payload returned: { "status": "Mi-temps", "date": "2024-11-13", "time": "23:20", "home_score": null, "away_score": 1, "plan_type": "Free", "$id": "67352622003d2aa1778c", "$createdAt": "2024-11-13T22:20:19.157+00:00", "$updatedAt": "2024-11-13T22:31:11.274+00:00", "$permissions": [], "$databaseId": "6709f408000313dc5d58", "$collectionId": "670ca8f0001bce7cd332" }
Could you please help me understand why these related fields (like league) are missing from the payload?
Recommended threads
- hi guys! my site is not accesible in my ...
- [Solved] Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...