I want to get data that is null in a Firebase database
stream: Firestore.instance
.collection('resep')
.where("email", isEqualTo: null)
.snapshots(),
I want to get email data that is null
From the documentation:
where(dynamic field, { dynamic isEqualTo, dynamic isLessThan, dynamic isLessThanOrEqualTo, dynamic isGreaterThan, dynamic isGreaterThanOrEqualTo, dynamic arrayContains, bool isNull }) → Query Creates and returns a new Query with additional filter on specified field. field refers to a field in a document. [...]
There is a isNull property
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With