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
- Database attribute stucks on 'processing...
Project ID: 664c9f5f0033b353a516 Databases: QQG Collection: Competition Attribute: nb_days It's a bit disappointing to have to create ticket for that while I s...
- Query on relationships
Hi, I am trying to select get info from a relationship. When I just list documents i get this output: ``` { "total": 1, "documents": [ { ...
- Users Create Event Not Triggered