Query filter : uid in list not working when list is empty

Database & APIs

I have a collection query in my listview. I want to filter the collection to get only items that have their uid in AuthenticatedUser.joys (a list of uids).

When the AuthenticatedUser.joys list is empty, the filter don't work and I get all the items instead of getting nothing.

What have you tried so far?

I've tried to check the "Filter on null value" option in query but it does not work.

Did you check FlutterFlow's Documentation for this topic?
Yes
3 replies