I am fetching a data from fire-store I have an order Object which have a status as an attribute that can be "pending"," delivering","delivered".
What I want to do is getting all the orders except the one with status "delivered"*.
How I can do that with Where clause ?
return _fs
.collection('orders')
// .where('status', ' ', 'delivered')
.where('deliveryTime', isGreaterThan: startTime)
.where('deliveryTime', isLessThan: endTime)
.snapshots();
any help will be appreciated