Query<TDocument> Class |
Namespace: MongoDB.Driver.Builders
The Query<TDocument> type exposes the following members.
Name | Description | |
---|---|---|
All<TValue> |
Tests that the named array element contains all of the values (see $all).
| |
BitsAllClear |
Tests that the value of the named element has all of the specified bits clear.
| |
BitsAllSet |
Tests that the value of the named element has all of the specified bits set.
| |
BitsAnyClear |
Tests that the value of the named element has any of the specified bits clear.
| |
BitsAnySet |
Tests that the value of the named element has any of the specified bits set.
| |
ElemMatch<TValue> |
Tests that at least one item of the named array element matches a query (see $elemMatch).
| |
EQ<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>>, TValue) |
Tests that any of the values in the named array element is equal to some value.
| |
EQ<TMember>(Expression<Func<TDocument, TMember>>, TMember) |
Tests that the value of the named element is equal to some value.
| |
Exists<TMember> |
Tests that an element of that name does or does not exist (see $exists).
| |
GeoIntersects<TMember, TCoordinates> |
Tests that a location element specified by name intersects with the geometry (see $geoIntersects).
| |
GT<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>>, TValue) |
Tests that any of the values in the named array element is greater than some value (see $lt).
| |
GT<TMember>(Expression<Func<TDocument, TMember>>, TMember) |
Tests that the value of the named element is greater than some value (see $gt).
| |
GTE<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>>, TValue) |
Tests that any of the values in the named array element is greater than or equal to some value (see $gte).
| |
GTE<TMember>(Expression<Func<TDocument, TMember>>, TMember) |
Tests that the value of the named element is greater than or equal to some value (see $gte).
| |
In<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>>, IEnumerable<TValue>) |
Tests that any of the values in the named array element are equal to one of a list of values (see $in).
| |
In<TMember>(Expression<Func<TDocument, TMember>>, IEnumerable<TMember>) |
Tests that the value of the named element is equal to one of a list of values (see $in).
| |
LT<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>>, TValue) |
Tests that any of the values in the named array element is less than some value (see $lt).
| |
LT<TMember>(Expression<Func<TDocument, TMember>>, TMember) |
Tests that the value of the named element is less than some value (see $lt).
| |
LTE<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>>, TValue) |
Tests that any of the values in the named array element is less than or equal to some value (see $lte).
| |
LTE<TMember>(Expression<Func<TDocument, TMember>>, TMember) |
Tests that the value of the named element is less than or equal to some value (see $lte).
| |
Matches(Expression<Func<TDocument, IEnumerable<String>>>, BsonRegularExpression) |
Tests that any of the values in the named array element matches a regular expression (see $regex).
| |
Matches(Expression<Func<TDocument, String>>, BsonRegularExpression) |
Tests that the value of the named element matches a regular expression (see $regex).
| |
Mod(Expression<Func<TDocument, IEnumerable<Int32>>>, Int64, Int64) |
Tests that the any of the values in the named array element match some value (see $mod).
| |
Mod(Expression<Func<TDocument, Int32>>, Int64, Int64) |
Tests that the modulus of the value of the named element matches some value (see $mod).
| |
NE<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>>, TValue) |
Tests that none of the values in the named array element is equal to some value (see $ne).
| |
NE<TMember>(Expression<Func<TDocument, TMember>>, TMember) |
Tests that an element does not equal the value (see $ne).
| |
Near<TMember>(Expression<Func<TDocument, TMember>>, Double, Double) |
Tests that the value of the named element is near some location (see $near).
| |
Near<TMember>(Expression<Func<TDocument, TMember>>, Double, Double, Double) |
Tests that the value of the named element is near some location (see $near).
| |
Near<TMember>(Expression<Func<TDocument, TMember>>, Double, Double, Double, Boolean) |
Tests that the value of the named element is near some location (see $near).
| |
Near<TMember, TCoordinates>(Expression<Func<TDocument, TMember>>, GeoJsonPoint<TCoordinates>) |
Tests that the value of the named element is near a point (see $near).
| |
Near<TMember, TCoordinates>(Expression<Func<TDocument, TMember>>, GeoJsonPoint<TCoordinates>, Double) |
Tests that the value of the named element is near some location (see $near).
| |
Near<TMember, TCoordinates>(Expression<Func<TDocument, TMember>>, GeoJsonPoint<TCoordinates>, Double, Boolean) |
Tests that the value of the named element is near some location (see $near).
| |
NotExists<TMember> |
Tests that an element of that name does not exist (see $exists).
| |
NotIn<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>>, IEnumerable<TValue>) |
Tests that the none of the values of the named array element is equal to any item in a list of values (see $nin).
| |
NotIn<TMember>(Expression<Func<TDocument, TMember>>, IEnumerable<TMember>) |
Tests that the value of the named element is not equal to any item in a list of values (see $nin).
| |
Size<TValue> |
Tests that the size of the named array is equal to some value (see $size).
| |
Type<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>>, BsonType) |
Tests that any of the values in the named array element is equal to some type (see $type).
| |
Type<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>>, String) |
Tests that any of the values in the named array element is equal to some type (see $type).
| |
Type<TMember>(Expression<Func<TDocument, TMember>>, BsonType) |
Tests that the type of the named element is equal to some type (see $type).
| |
Type<TMember>(Expression<Func<TDocument, TMember>>, String) |
Tests that the type of the named element is equal to some type (see $type).
| |
Where |
Builds a query from an expression.
| |
Within<TMember, TCoordinates> |
Tests that the value of the named element is within the specified geometry (see $within).
| |
WithinCircle<TMember>(Expression<Func<TDocument, TMember>>, Double, Double, Double) |
Tests that the value of the named element is within a circle (see $within and $center).
| |
WithinCircle<TMember>(Expression<Func<TDocument, TMember>>, Double, Double, Double, Boolean) |
Tests that the value of the named element is within a circle (see $within and $center).
| |
WithinPolygon<TMember> |
Tests that the value of the named element is within a polygon (see $within and $polygon).
| |
WithinRectangle<TMember> |
Tests that the value of the named element is within a rectangle (see $within and $box).
|