[Solved] Realtime listener's data return a huge list of events. Is it intended?
- 0
- Resolved
- Flutter
- Realtime
Hi! So I have a realtime listener which is defined like this:
void _getRealtimePoints() {
subscription.stream.listen((point) {
print(point.events);
});
}
And when I print the output to the console, I get the following...
databases.fishydatabase.collections.pointsof63ee41401fdb47dcbad7.documents.63f1010aae47a9a11644.create, databases.*.collections.*.documents.*.create, databases.fishydatabase.collections.*.documents.63f1010aae47a9a11644.create, databases.*.collections.*.documents.63f1010aae47a9a11644.create, databases.*.collections.pointsof63ee41401fdb47dcbad7.documents.63f1010aae47a9a11644.create, databases.fishydatabase.collections.pointsof63ee41401fdb47dcbad7.documents.*.create, databases.*.collections.pointsof63ee41401fdb47dcbad7.documents.*.create, databases.fishydatabase.collections.*.documents.*.create, databases.fishydatabase.collections.pointsof63ee41401fdb47dcbad7.documents.63f1010aae47a9a11644, databases.*.collections.*.documents.*, databases.fishydatabase.collections.*.documents.63f1010aae47a9a11644, databases.*.collections.*.documents.63f1010aae47a9a11644, databases.*.collections.pointsof63ee41401fdb47dcbad7.documents.63f1010aae47a9a11644, databases.fishydatabase.collections.pointsof63ee41401fdb47dcbad7.documents.*, databases.*.collections.pointsof63ee41401fdb47dcbad7.documents.*, databases.fishydatabase.collections.*.documents.*, databases.fishydatabase.collections.pointsof63ee41401fdb47dcbad7, databases.*.collections.*, databases.fishydatabase.collections.*, databases.*.collections.pointsof63ee41401fdb47dcbad7, databases.fishydatabase, databases.*
Why there are so many elements for a simple document creation?
These are all possible variations of the events that couldโve been triggered by the action ๐๐ป
ah, gotcha
tyvm
[Solved] Realtime listener's data return a huge list of events. Is it intended?
No worries ๐๐ป the footprint should be minor and depending on the use case you might need some of those events โบ๏ธ
Recommended threads
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Issue Related to Presence
```PresenceService: upsert error โ AppwriteException: user_unauthorized, The current user is not authorized to perform the requested action. (401) ...
- iOS Auth - Apple OAuth not working.
when i use the prod app, the apple auth on ios is not working, it shows me: missing redirect url. however the debug version, connected to another project is wor...