SelectQuery Class |
Namespace: MongoDB.Driver.Linq
The SelectQuery type exposes the following members.
Name | Description | |
---|---|---|
SelectQuery |
Initializes a new instance of the MongoLinqFindQuery class.
|
Name | Description | |
---|---|---|
Collection |
Gets the collection being queried.
(Inherited from TranslatedQuery.) | |
DocumentType |
Get the document type being queried.
(Inherited from TranslatedQuery.) | |
IndexHint |
Gets the BsonValue (string or document) that defines which index to use (or null if not specified);
| |
OfType |
Gets the final result type if an OfType query operator was used (otherwise null).
| |
OrderBy |
Gets a list of Expressions that defines the sort order (or null if not specified).
| |
Projection |
Gets the Expression that defines the projection (or null if not specified).
| |
Skip |
Gets the Expression that defines how many documents to skip (or null if not specified).
| |
Take |
Gets the Expression that defines how many documents to take (or null if not specified);
| |
Where |
Gets the LambdaExpression that defines the where clause (or null if not specified).
|
Name | Description | |
---|---|---|
BuildQuery |
Creates an IMongoQuery from the where clause (returns null if no where clause was specified).
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Execute |
Executes the translated Find query.
(Overrides TranslatedQueryExecute.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Translate |
Translates a LINQ query expression tree.
|
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |