Hello everyone! I always appreciate the community for all the helps.
I’m trying to display only the items in the container list that has the same UID value as Current User UID.
Here’s my Firestore DB setup.
- Collection: MindfulnessItem
- Document: ID
- Fields: Category, ItemName, UID
I’m showing the UID of the current user to make sure that this UID matches with the record in the DB.
In the “Repeat with” for the container list, I used the SELECT function.
=> SELECT(data.MindfulnessCollection, data.MindfulnessSingleData.UID == appVars.UID)
It is not returning any value back to me. Would you advise me if I’m using the wrong function or wrong list in the formula?