C# Класс MongoDB.Driver.Builders.QueryConditionList

Наследование: QueryComplete
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
All ( ) : QueryConditionList

Adds a $all test to the query.

All ( IEnumerable values ) : QueryConditionList

Adds a $all test to the query.

ElemMatch ( IMongoQuery query ) : QueryConditionList

Adds an $elemMatch test to the query.

Exists ( bool exists ) : QueryConditionList

Adds a $exist test to the query.

GT ( BsonValue value ) : QueryConditionList

Adds a $gt test to the query.

GTE ( BsonValue value ) : QueryConditionList

Adds a $gte test to the query.

In ( ) : QueryConditionList

Adds a $in test to the query.

In ( IEnumerable values ) : QueryConditionList

Adds a $in test to the query.

LT ( BsonValue value ) : QueryConditionList

Adds a $lt test to the query.

LTE ( BsonValue value ) : QueryConditionList

Adds a $lte test to the query.

Mod ( int modulus, int equals ) : QueryConditionList

Adds a $mod test to the query.

NE ( BsonValue value ) : QueryConditionList

Adds a $ne test to the query.

Near ( double x, double y ) : QueryConditionList

Adds a $near test to the query.

Near ( double x, double y, double maxDistance ) : QueryConditionList

Adds a $near test to the query.

Near ( double x, double y, double maxDistance, bool spherical ) : QueryConditionList

Adds a $near or $nearSphere test to the query.

NotIn ( ) : QueryConditionList

Adds a $nin test to the query.

NotIn ( IEnumerable values ) : QueryConditionList

Adds a $nin test to the query.

QueryConditionList ( string name ) : System

Initializes a new instance of the QueryConditionList class.

Size ( int size ) : QueryConditionList

Adds a $size test to the query.

Type ( BsonType type ) : QueryConditionList

Adds a $type test to the query.

WithinCircle ( double x, double y, double radius ) : QueryConditionList

Adds a $within/$center test to the query.

WithinCircle ( double x, double y, double radius, bool spherical ) : QueryConditionList

Adds a $within/$center or $within/$centerSphere test to the query.

WithinRectangle ( double lowerLeftX, double lowerLeftY, double upperRightX, double upperRightY ) : QueryConditionList

Adds a $within/$box test to the query.

Описание методов

All() публичный Метод

Adds a $all test to the query.
public All ( ) : QueryConditionList
Результат QueryConditionList

All() публичный Метод

Adds a $all test to the query.
public All ( IEnumerable values ) : QueryConditionList
values IEnumerable A BsonArray of values.
Результат QueryConditionList

ElemMatch() публичный Метод

Adds an $elemMatch test to the query.
public ElemMatch ( IMongoQuery query ) : QueryConditionList
query IMongoQuery The query to match elements with.
Результат QueryConditionList

Exists() публичный Метод

Adds a $exist test to the query.
public Exists ( bool exists ) : QueryConditionList
exists bool Whether to test for the existence or absence of an element.
Результат QueryConditionList

GT() публичный Метод

Adds a $gt test to the query.
public GT ( BsonValue value ) : QueryConditionList
value BsonValue The value to compare to.
Результат QueryConditionList

GTE() публичный Метод

Adds a $gte test to the query.
public GTE ( BsonValue value ) : QueryConditionList
value BsonValue The value to compare to.
Результат QueryConditionList

In() публичный Метод

Adds a $in test to the query.
public In ( ) : QueryConditionList
Результат QueryConditionList

In() публичный Метод

Adds a $in test to the query.
public In ( IEnumerable values ) : QueryConditionList
values IEnumerable A BsonArray of values.
Результат QueryConditionList

LT() публичный Метод

Adds a $lt test to the query.
public LT ( BsonValue value ) : QueryConditionList
value BsonValue The value to compare to.
Результат QueryConditionList

LTE() публичный Метод

Adds a $lte test to the query.
public LTE ( BsonValue value ) : QueryConditionList
value BsonValue The value to compare to.
Результат QueryConditionList

Mod() публичный Метод

Adds a $mod test to the query.
public Mod ( int modulus, int equals ) : QueryConditionList
modulus int The modulus.
equals int The value to compare to.
Результат QueryConditionList

NE() публичный Метод

Adds a $ne test to the query.
public NE ( BsonValue value ) : QueryConditionList
value BsonValue The value to compare to.
Результат QueryConditionList

Near() публичный Метод

Adds a $near test to the query.
public Near ( double x, double y ) : QueryConditionList
x double The x value of the origin.
y double The y value of the origin.
Результат QueryConditionList

Near() публичный Метод

Adds a $near test to the query.
public Near ( double x, double y, double maxDistance ) : QueryConditionList
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.
Результат QueryConditionList

Near() публичный Метод

Adds a $near or $nearSphere test to the query.
public Near ( double x, double y, double maxDistance, bool spherical ) : QueryConditionList
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.
Результат QueryConditionList

NotIn() публичный Метод

Adds a $nin test to the query.
public NotIn ( ) : QueryConditionList
Результат QueryConditionList

NotIn() публичный Метод

Adds a $nin test to the query.
public NotIn ( IEnumerable values ) : QueryConditionList
values IEnumerable A BsonArray of values.
Результат QueryConditionList

QueryConditionList() публичный Метод

Initializes a new instance of the QueryConditionList class.
public QueryConditionList ( string name ) : System
name string The name of the element to be tested.
Результат System

Size() публичный Метод

Adds a $size test to the query.
public Size ( int size ) : QueryConditionList
size int The size of the array.
Результат QueryConditionList

Type() публичный Метод

Adds a $type test to the query.
public Type ( BsonType type ) : QueryConditionList
type BsonType The type.
Результат QueryConditionList

WithinCircle() публичный Метод

Adds a $within/$center test to the query.
public WithinCircle ( double x, double y, double radius ) : QueryConditionList
x double The x coordinate of the origin.
y double The y coordinate of the origin.
radius double The radius of the circle.
Результат QueryConditionList

WithinCircle() публичный Метод

Adds a $within/$center or $within/$centerSphere test to the query.
public WithinCircle ( double x, double y, double radius, bool spherical ) : QueryConditionList
x double The x coordinate of the origin.
y double The y coordinate of the origin.
radius double The radius of the circle.
spherical bool Whether to do a spherical search.
Результат QueryConditionList

WithinRectangle() публичный Метод

Adds a $within/$box test to the query.
public WithinRectangle ( double lowerLeftX, double lowerLeftY, double upperRightX, double upperRightY ) : QueryConditionList
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.
Результат QueryConditionList