How to get the list of documents in a realtime connection?
- 0
- Self Hosted
- Flutter
- Databases
- Realtime
I have a realtime connection listening on 'databases.$_mainDatabaseId.collections.$_collectonId.documents' and the stream is emitting the created item.
In my case I would like to have the stream of List<Document> .
To be more specific: I would like to listen to a specific query. Is that possible?
It really doesn't make sense to have a list of documents because only one document is updated at a time so it will always just be one document.
As for filtering, you'll have to filter client side in your callback. There's a feature request for filtering server side by passing some queries. I suggest you 👍 the issue: https://github.com/appwrite/appwrite/issues/2490
Recommended threads
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error