C# Class MongoDB.Driver.Builders.QueryConditionList

Inheritance: QueryComplete
Afficher le fichier Open project: Qiredev/mongo-csharp-driver Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

All() public méthode

Adds a $all test to the query.
public All ( ) : QueryConditionList
Résultat QueryConditionList

All() public méthode

Adds a $all test to the query.
public All ( IEnumerable values ) : QueryConditionList
values IEnumerable A BsonArray of values.
Résultat QueryConditionList

ElemMatch() public méthode

Adds an $elemMatch test to the query.
public ElemMatch ( IMongoQuery query ) : QueryConditionList
query IMongoQuery The query to match elements with.
Résultat QueryConditionList

Exists() public méthode

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.
Résultat QueryConditionList

GT() public méthode

Adds a $gt test to the query.
public GT ( BsonValue value ) : QueryConditionList
value BsonValue The value to compare to.
Résultat QueryConditionList

GTE() public méthode

Adds a $gte test to the query.
public GTE ( BsonValue value ) : QueryConditionList
value BsonValue The value to compare to.
Résultat QueryConditionList

In() public méthode

Adds a $in test to the query.
public In ( ) : QueryConditionList
Résultat QueryConditionList

In() public méthode

Adds a $in test to the query.
public In ( IEnumerable values ) : QueryConditionList
values IEnumerable A BsonArray of values.
Résultat QueryConditionList

LT() public méthode

Adds a $lt test to the query.
public LT ( BsonValue value ) : QueryConditionList
value BsonValue The value to compare to.
Résultat QueryConditionList

LTE() public méthode

Adds a $lte test to the query.
public LTE ( BsonValue value ) : QueryConditionList
value BsonValue The value to compare to.
Résultat QueryConditionList

Mod() public méthode

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.
Résultat QueryConditionList

NE() public méthode

Adds a $ne test to the query.
public NE ( BsonValue value ) : QueryConditionList
value BsonValue The value to compare to.
Résultat QueryConditionList

Near() public méthode

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.
Résultat QueryConditionList

Near() public méthode

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.
Résultat QueryConditionList

Near() public méthode

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.
Résultat QueryConditionList

NotIn() public méthode

Adds a $nin test to the query.
public NotIn ( ) : QueryConditionList
Résultat QueryConditionList

NotIn() public méthode

Adds a $nin test to the query.
public NotIn ( IEnumerable values ) : QueryConditionList
values IEnumerable A BsonArray of values.
Résultat QueryConditionList

QueryConditionList() public méthode

Initializes a new instance of the QueryConditionList class.
public QueryConditionList ( string name ) : System
name string The name of the element to be tested.
Résultat System

Size() public méthode

Adds a $size test to the query.
public Size ( int size ) : QueryConditionList
size int The size of the array.
Résultat QueryConditionList

Type() public méthode

Adds a $type test to the query.
public Type ( BsonType type ) : QueryConditionList
type BsonType The type.
Résultat QueryConditionList

WithinCircle() public méthode

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.
Résultat QueryConditionList

WithinCircle() public méthode

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.
Résultat QueryConditionList

WithinRectangle() public méthode

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.
Résultat QueryConditionList