Method ElemMatch
ElemMatch(string, IMongoQuery)
Returns the first matching element in the array specified by name.
public FieldsBuilder ElemMatch(string name, IMongoQuery query)
Parameters
name
stringThe name.
query
IMongoQueryThe query.
Returns
- FieldsBuilder
The build (so method calls can be chained).