Метод | Описание | |
---|---|---|
All ( string name ) : |
Adds a $all test to the query.
|
|
All ( string name, IEnumerable |
Adds a $all test to the query.
|
|
And ( ) : |
Combines subqueries with an and operator.
|
|
EQ ( string name, BsonValue value ) : |
Adds an equality test to the query.
|
|
ElemMatch ( string name, IMongoQuery query ) : |
Adds an $elemMatch test to the query.
|
|
Exists ( string name, bool exists ) : |
Adds a $exist test to the query.
|
|
GT ( string name, BsonValue value ) : |
Adds a $gt test to the query.
|
|
GTE ( string name, BsonValue value ) : |
Adds a $gte test to the query.
|
|
In ( string name ) : |
Adds a $in test to the query.
|
|
In ( string name, IEnumerable |
Adds a $in test to the query.
|
|
LT ( string name, BsonValue value ) : |
Adds a $lt test to the query.
|
|
LTE ( string name, BsonValue value ) : |
Adds a $lte test to the query.
|
|
Matches ( string name, BsonRegularExpression regex ) : |
Adds a regular expression test to the query.
|
|
Mod ( string name, int modulus, int equals ) : |
Adds a $mod test to the query.
|
|
NE ( string name, BsonValue value ) : |
Adds a $ne test to the query.
|
|
Near ( string name, double x, double y ) : |
Adds a $near test to the query.
|
|
Near ( string name, double x, double y, double maxDistance ) : |
Adds a $near test to the query.
|
|
Near ( string name, double x, double y, double maxDistance, bool spherical ) : |
Adds a $near or $nearSphere test to the query.
|
|
Nor ( ) : |
Combines subqueries with a nor operator.
|
|
Not ( string name ) : |
Adds a $not test to the query.
|
|
NotIn ( string name ) : |
Adds a $nin test to the query.
|
|
NotIn ( string name, IEnumerable |
Adds a $nin test to the query.
|
|
Or ( ) : |
Combines subqueries with an or operator.
|
|
Size ( string name, int size ) : |
Adds a $size test to the query.
|
|
Type ( string name, BsonType type ) : |
Adds a $type test to the query.
|
|
Where ( BsonJavaScript javaScript ) : |
Adds a $where test to the query.
|
|
WithinCircle ( string name, double centerX, double centerY, double radius ) : |
Adds a $within/$center test to the query.
|
|
WithinCircle ( string name, double centerX, double centerY, double radius, bool spherical ) : |
Adds a $within/$center or $within/$centerSphere test to the query.
|
|
WithinRectangle ( string name, double lowerLeftX, double lowerLeftY, double upperRightX, double upperRightY ) : |
Adds a $within/$box test to the query.
|
public static All ( string name ) : |
||
name | string | The name of the element to test. |
Результат |
public static All ( string name, IEnumerable |
||
name | string | The name of the element to test. |
values | IEnumerable |
A BsonArray of values. |
Результат |
public static EQ ( string name, BsonValue value ) : |
||
name | string | The name of the element to test. |
value | BsonValue | The value to compare to. |
Результат |
public static ElemMatch ( string name, IMongoQuery query ) : |
||
name | string | The name of the element to test. |
query | IMongoQuery | The query to match elements with. |
Результат |
public static Exists ( string name, bool exists ) : |
||
name | string | The name of the element to test. |
exists | bool | Whether to test for the existence or absence of an element. |
Результат |
public static GT ( string name, BsonValue value ) : |
||
name | string | The name of the element to test. |
value | BsonValue | The value to compare to. |
Результат |
public static GTE ( string name, BsonValue value ) : |
||
name | string | The name of the element to test. |
value | BsonValue | The value to compare to. |
Результат |
public static In ( string name ) : |
||
name | string | The name of the element to test. |
Результат |
public static In ( string name, IEnumerable |
||
name | string | The name of the element to test. |
values | IEnumerable |
A BsonArray of values. |
Результат |
public static LT ( string name, BsonValue value ) : |
||
name | string | The name of the element to test. |
value | BsonValue | The value to compare to. |
Результат |
public static LTE ( string name, BsonValue value ) : |
||
name | string | The name of the element to test. |
value | BsonValue | The value to compare to. |
Результат |
public static Matches ( string name, BsonRegularExpression regex ) : |
||
name | string | The name of the element to test. |
regex | BsonRegularExpression | The regular expression to match against. |
Результат |
public static Mod ( string name, int modulus, int equals ) : |
||
name | string | The name of the element to test. |
modulus | int | The modulus. |
equals | int | The value to compare to. |
Результат |
public static NE ( string name, BsonValue value ) : |
||
name | string | The name of the element to test. |
value | BsonValue | The value to compare to. |
Результат |
public static Near ( string name, double x, double y ) : |
||
name | string | The name of the element to test. |
x | double | The x value of the origin. |
y | double | The y value of the origin. |
Результат |
public static Near ( string name, double x, double y, double maxDistance ) : |
||
name | string | The name of the element to test. |
x | double | The x value of the origin. |
y | double | The y value of the origin. |
maxDistance | double | The max distance for a document to be included in the results. |
Результат |
public static Near ( string name, double x, double y, double maxDistance, bool spherical ) : |
||
name | string | The name of the element to test. |
x | double | The x value of the origin. |
y | double | The y value of the origin. |
maxDistance | double | The max distance for a document to be included in the results. |
spherical | bool | Whether to do a spherical search. |
Результат |
public static Not ( string name ) : |
||
name | string | The name of the element to test. |
Результат |
public static NotIn ( string name ) : |
||
name | string | The name of the element to test. |
Результат |
public static NotIn ( string name, IEnumerable |
||
name | string | The name of the element to test. |
values | IEnumerable |
A BsonArray of values. |
Результат |
public static Size ( string name, int size ) : |
||
name | string | The name of the array element to test. |
size | int | The size of the array. |
Результат |
public static Type ( string name, BsonType type ) : |
||
name | string | The name of the element to test. |
type | BsonType | The type. |
Результат |
public static Where ( BsonJavaScript javaScript ) : |
||
javaScript | BsonJavaScript | The where clause. |
Результат |
public static WithinCircle ( string name, double centerX, double centerY, double radius ) : |
||
name | string | The name of the element to test. |
centerX | double | The x coordinate of the origin. |
centerY | double | The y coordinate of the origin. |
radius | double | The radius of the circle. |
Результат |
public static WithinCircle ( string name, double centerX, double centerY, double radius, bool spherical ) : |
||
name | string | The name of the element to test. |
centerX | double | The x coordinate of the origin. |
centerY | double | The y coordinate of the origin. |
radius | double | The radius of the circle. |
spherical | bool | Whether to do a spherical search. |
Результат |
public static WithinRectangle ( string name, double lowerLeftX, double lowerLeftY, double upperRightX, double upperRightY ) : |
||
name | string | The name of the element to test. |
lowerLeftX | double | The x coordinate of the lower left corner. |
lowerLeftY | double | The y coordinate of the lower left corner. |
upperRightX | double | The x coordinate of the upper right corner. |
upperRightY | double | The y coordinate of the upper right corner. |
Результат |