I have a collection named Items. Documents in the Items collection have a field named "LocationId." How do I select, and bring back to server, all Item documents that have a LocationId that matches a list, array, etc (whatever collection you prefer) of Location Ids?
tl:dr for clarity:
1. Have Items collection.
2. Have list of LocationIds, e.g. "1, 5, 6, 12, 99" on the server.
3. Need to bring back all Item documents that have a LocationId listed in the collection.
You can build simple queries using lambda expression, MongoDB.Driver supports it