I need to filter entities based on one of their ListProperties having a certain element present. So kind of like:
entities.filter(‘listProp IN ‘,element) except where listProp and element are reversed if you see what I mean.
Anyone know how to filter like this?
Ok so it turns out the IN equality clause takes care of this case for lists automatically.
As in it does a for … each on the list of elements to be searched for and if any one of them is present in the ListProperty for each entity it will return that entity.