Top 10 shows on NETFLIX

Everyone always needs new recommendations on what to watch on Netflix and I am here to help. These are some of my top favorite shows. Pick and choose which to watch. Though I am sure that you have…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Solution to the OR operator Limitation in Flutter Firestore.

It often happens that sometime at some points you need to use the “or operator” in a compound query.

For Example:

There are two queries which contain, multiple And operators using .where(). Now if you want to get the OR functionality from the union of both queries:

You will try to use the built in OR operator between these two queries. Here’s what you you see when you go on the documentation page of firebase firestore. You see that OR operator is not available.

ScreenShot from Firebae Docs: Perform simple and compound queries

Solution

The solution which worked for me to use OR operator or get the functionality similar to OR operator is given below:

Explanation of Code:

Thanks for Reading.

Add a comment

Related posts:

Being harrass

I was harassed by women and two guys in my street for 7 years and they all got away with it. “Being harrass” is published by Vanessa Bush.

How to pick an EPOS system for your takeaway?

With all the EPOS systems out there, how do you know which one to pick? There are so many to choose from. In this article, I’m going to help you decide on an EPOS System for Takeaway businesses. So…

onRegionChangeComplete

I had the opportunity to fine tune an Android app that was using react-native-maps. I spent some time googling about it and was able to improve performance by a lot! At first the app ran around 0–15…