How To

Drupal 7 EntityFieldQuery: Search array of items

SCENARIO: Search multiple values using Drupal 7 Entity Field Query

I want to search for many values (an array of values) while using Drupal 7 EntityFieldQuery so that I can find any number of values and get a list of those items as the returned query.


GIVEN I have a field field_related_node_ids
AND I have a list of three node ids to pass into the query (1, 5, 100)
WHEN I run EntityFieldQuery against that field
THEN I get all nodes with the field field_related_node_ids that have one of the 10 nid's I am looking for.