I'm trying to find all matches between database collections - that is, search Collection B for all values in a given column in Collection A.
Collection A:
A
B
D
Collection B:
A
C
D
Query Returns:
A
D
Currently I am using a list service to put the Collection A values into local storage but I think the problem lies with how to map it to the "where" in my Collection B query service.
I feel like this should be straightforward but I've poured over the documentation and only found examples with the where defined as a static/default value or mapped to a single input. How do I search for any match out of a list of items?
Thanks in advance!