Filter List of objects

Hello, I have list of objects (A) and list of objects (B). B is associated to A via 1-* association. i.e. 1 (B) object can be available in multiple (A) objects. Now I would like to filter list of objects (A) based on list of objects (B) which is a list. How do I implement it without a loop?
1 answers

Hi Raghavendra Bhagwat,

I Think you are trying to filter list A with entire list B. However, it is not possible to filter like that, You can filter List A with Only a single Object of List B then you can get filtered list which is associated to object B.

if you want to filter with entire list it is best to use loop. I Hope this helps.