Cloud Firstore Plugin Should Support Logical Or Query #4381
Unanswered
maheshj01
asked this question in
Feature request
Replies: 2 comments 1 reply
-
You can already do that:
This is equivalent to your statement. It reads as "Find documents where field1's value is contained in the list of values (value1 and value2)". You see some more examples here: https://firebase.googleblog.com/2019/11/cloud-firestore-now-supports-in-queries.html Keep in mind that the Flutter plugin is limited to what the underlying Android/iOS/Web implementations support. It's a wrapper around those implementations. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Update:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, we can do logical And operations using the where clause something like this
Logical AND
I would propose a similar functionality for logical OR
Proposal
The current approach which works for me is using the CombineLatestStream from the rxdart package
Current Approach
I am not sure how efficient the current approach is, or what are the technical challenges involved with adding support for Logical Or query to firestore plugin I would love to hear more about it. Feel free to close this issue if this is a duplicate or is not related.
Beta Was this translation helpful? Give feedback.
All reactions