'Check if item is not in a Firebase document
I have a field in my Firestore documents that happens to be an array of user IDs, this field is called "tempID", I want to run a query that return all documents that do not contain a particular user ID stored in "tempID". I did my research and found two useful articles.
Firebase check if item is not in array in Flutter I tried what was suggested in this link but I am not getting desired outcome.
https://firebase.google.com/docs/firestore/query-data/queries#dart_8 I read official documentation from this link but still have not been able to implement desired outcome.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
