Reputation: 1761
My flutter app is using Firestore as a database. I am listening on a stream for data using this:
Firestore.instance.collection('cars')
.where("free", isEqualTo: true).snapshots()
The problem with this is that when I change the field free of a car with free : false
the stream is not updating, probably because of the where("free", isEqualTo: true)
but if I change the field to free : true
the stream sends updates...
Upvotes: 2
Views: 1042