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
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...