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
- 404 errors after 7 Days
Local hosted Appwrite via docker. Last version and current version. After exactly 7 days Appwrite stops working. I get 404 route not found, cannot access anyth...
- unable to modify attribute
please help: when I try to modify attribute size or key or anything, I am getting this errors: ``` Deprecated: strtolower(): Passing null to parameter #1 ($str...
- my database attribute stuck in processin...
when i created attributes in collection 3 of those attributes become "processing", and they are not updating, the worst thing is that i cant even delete them s...
