Method In
In(string, IEnumerable<BsonValue>)
Tests that the value of the named element is equal to one of a list of values (see $in).
public static IMongoQuery In(string name, IEnumerable<BsonValue> values)
Parameters
name
stringThe name of the element to test.
values
IEnumerable<BsonValue>The values to compare to.
Returns
- IMongoQuery
An IMongoQuery.