Метод | Описание | |
---|---|---|
All ( string field ) : |
Finds fields that match all value within the record
|
|
All ( string field, IEnumerable values ) : |
Finds fields that match all value within the record
|
|
AppendParameter ( string field, string modifier, object value ) : |
Allows you to append a query option using the Mongo syntax
|
|
Count ( ) : long |
Determines the total count of records matching this query
|
|
Delete ( ) : void |
Performs a selection of all fields matching the query
|
|
EqualTo ( string field, object value ) : |
Finds all records that are equal to the value provided
|
|
Exists ( string field ) : |
Finds records that the requested field exists in
|
|
FindById ( MongoOid id ) : |
Finds a record based on the Oid value
|
|
FindById ( byte id ) : |
Finds a record based on the Oid value
|
|
FindById ( string id ) : |
Finds a record based on the Oid value
|
|
Greater ( string field, object value ) : |
Finds all records greater than the provided value
|
|
GreaterOrEqual ( string field, object value ) : |
Finds all records greater than or equal to the provided value
|
|
In ( string field ) : |
Finds fields that match any value within the record
|
|
In ( string field, IEnumerable values ) : |
Finds fields that match any value within the record
|
|
Increment ( ) : void |
Increments each of the fields provided by one
|
|
Increment ( |
Increments each of the fields by the number provides - first converting the value to an integer
|
|
Increment ( object parameters ) : void |
Increments each of the fields by the number provides - first converting the value to an integer
|
|
Less ( string field, object value ) : |
Finds all records less than the provided value
|
|
LessOrEqual ( string field, object value ) : |
Finds all records less than or equal to the provided value
|
|
Match ( string field, |
Finds all records that match the provided expression
|
|
Match ( string field, string expression ) : |
Finds all records that match the provided expression
|
|
Match ( string field, string expression, RegexOptions options ) : |
Finds all records that match the provided expression
|
|
Mod ( string field, int value ) : |
Performs a modulo comparison (field % value == 1)
|
|
Mod ( string field, int value, int compare ) : |
Performs a modulo comparison (field % value == compare)
|
|
MongoQuery ( MongoCollection collection ) : System |
Creates a new query for this database
|
|
MongoQuery ( MongoDatabase database, string collection ) : System |
Creates a new query for this database
|
|
NotEqualTo ( string field, object value ) : |
Finds all records that are not equal to the value provided
|
|
NotExists ( string field ) : |
Finds records that the requested field does not exist in
|
|
NotIn ( string field ) : |
Finds fields that haven't any matches within the array
|
|
NotIn ( string field, IEnumerable values ) : |
Finds fields that haven't any matches within the collection
|
|
Select ( ) : IEnumerable |
Selects the records from the database that matches this query
|
|
Select ( QueryOptionTypes options ) : IEnumerable |
Selects the records from the database that matches this query
|
|
Select ( int skip, int take ) : IEnumerable |
Selects the records from the database that matches this query
|
|
Select ( int skip, int take, QueryOptionTypes options ) : IEnumerable |
Selects the records from the database that matches this query
|
|
SelectOne ( ) : MongoDocument |
Selects only one document with the provided parameters
|
|
SelectOne ( QueryOptionTypes options ) : MongoDocument |
Selects only one document with the provided parameters
|
|
SelectOne ( int skip ) : MongoDocument |
Selects only one document with the provided parameters
|
|
SelectOne ( int skip, QueryOptionTypes options ) : MongoDocument |
Selects only one document with the provided parameters
|
|
Set ( |
Updates all matching records with the values on the provided BsonDocument or adds the new item to object entirely
|
|
Set ( object changes ) : void |
Updates all matching records with the values on the provided object or adds the new item to object entirely
|
|
Size ( string field, int size ) : |
Finds fields that match all value within the record
|
|
Unset ( ) : void |
Removes all matching fields from each document in the query
|
|
Where ( string script ) : |
Writes a manual function to persom a comparison on the server
|
|
Where ( string script, bool wrapWithFunction ) : |
Writes a manual function to perform a comparison on the server
|
Метод | Описание | |
---|---|---|
_SendUpdate ( string type, UpdateOptionTypes options, |
public All ( string field, IEnumerable values ) : |
||
field | string | |
values | IEnumerable | |
Результат |
public AppendParameter ( string field, string modifier, object value ) : |
||
field | string | |
modifier | string | |
value | object | |
Результат |
public EqualTo ( string field, object value ) : |
||
field | string | |
value | object | |
Результат |
public Exists ( string field ) : |
||
field | string | |
Результат |
public FindById ( MongoOid id ) : |
||
id | MongoOid | |
Результат |
public FindById ( string id ) : |
||
id | string | |
Результат |
public Greater ( string field, object value ) : |
||
field | string | |
value | object | |
Результат |
public GreaterOrEqual ( string field, object value ) : |
||
field | string | |
value | object | |
Результат |
public In ( string field, IEnumerable values ) : |
||
field | string | |
values | IEnumerable | |
Результат |
public Increment ( |
||
document | ||
Результат | void |
public Increment ( object parameters ) : void | ||
parameters | object | |
Результат | void |
public Less ( string field, object value ) : |
||
field | string | |
value | object | |
Результат |
public LessOrEqual ( string field, object value ) : |
||
field | string | |
value | object | |
Результат |
public Match ( string field, |
||
field | string | |
expression | ||
Результат |
public Match ( string field, string expression ) : |
||
field | string | |
expression | string | |
Результат |
public Match ( string field, string expression, RegexOptions options ) : |
||
field | string | |
expression | string | |
options | RegexOptions | |
Результат |
public Mod ( string field, int value ) : |
||
field | string | |
value | int | |
Результат |
public Mod ( string field, int value, int compare ) : |
||
field | string | |
value | int | |
compare | int | |
Результат |
public MongoQuery ( MongoCollection collection ) : System | ||
collection | MongoCollection | |
Результат | System |
public MongoQuery ( MongoDatabase database, string collection ) : System | ||
database | MongoDatabase | |
collection | string | |
Результат | System |
public NotEqualTo ( string field, object value ) : |
||
field | string | |
value | object | |
Результат |
public NotExists ( string field ) : |
||
field | string | |
Результат |
public NotIn ( string field ) : |
||
field | string | |
Результат |
public NotIn ( string field, IEnumerable values ) : |
||
field | string | |
values | IEnumerable | |
Результат |
public Select ( QueryOptionTypes options ) : IEnumerable |
||
options | QueryOptionTypes | |
Результат | IEnumerable |
public Select ( int skip, int take ) : IEnumerable |
||
skip | int | |
take | int | |
Результат | IEnumerable |
public Select ( int skip, int take, QueryOptionTypes options ) : IEnumerable |
||
skip | int | |
take | int | |
options | QueryOptionTypes | |
Результат | IEnumerable |
public SelectOne ( QueryOptionTypes options ) : MongoDocument | ||
options | QueryOptionTypes | |
Результат | MongoDocument |
public SelectOne ( int skip ) : MongoDocument | ||
skip | int | |
Результат | MongoDocument |
public SelectOne ( int skip, QueryOptionTypes options ) : MongoDocument | ||
skip | int | |
options | QueryOptionTypes | |
Результат | MongoDocument |
public Set ( |
||
document | ||
Результат | void |
public Size ( string field, int size ) : |
||
field | string | |
size | int | |
Результат |
public Where ( string script ) : |
||
script | string | |
Результат |
public Where ( string script, bool wrapWithFunction ) : |
||
script | string | |
wrapWithFunction | bool | |
Результат |