Click or drag to resize

MongoQueryableT Class

An implementation of IQueryable{{T}} for querying a MongoDB collection. This class has been named MongoQueryable instead of MongoQuery to avoid confusion with IMongoQuery.
Inheritance Hierarchy
SystemObject
  MongoDB.Driver.LinqMongoQueryableT

Namespace:  MongoDB.Driver.Linq
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public class MongoQueryable<T> : IOrderedQueryable<T>, 
	IQueryable<T>, IEnumerable<T>, IEnumerable, IQueryable, IOrderedQueryable

Type Parameters

T
The type of the documents being queried.

The MongoQueryableT type exposes the following members.

Constructors
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Gets an enumerator for the results of a MongoDB LINQ query.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMongoQuery
Gets the MongoDB query that will be sent to the server when this LINQ query is executed.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAllElementsT
Represents all elements in an array (corresponds to the server's "$[]" update operator).
(Defined by MongoEnumerable.)
Public Extension MethodAllMatchingElementsT
Represents all matching elements in an array when using an array filter (corresponds to the server's "$[identifier]" update operator).
(Defined by MongoEnumerable.)
Public Extension MethodBottomT, TResult
Returns the bottom result.
(Defined by MongoEnumerable.)
Public Extension MethodBottomNT, TResult(SortDefinitionT, FuncT, TResult, Int32)Overloaded.
Returns the bottom n results.
(Defined by MongoEnumerable.)
Public Extension MethodBottomNT, TKey, TResult(SortDefinitionT, FuncT, TResult, TKey, FuncTKey, Int32)Overloaded.
Returns the bottom n results.
(Defined by MongoEnumerable.)
Public Extension MethodContainsAllT
Determines whether a sequence contains all of the specified values.
(Defined by LinqToMongo.)
Public Extension MethodContainsAnyT
Determines whether a sequence contains any of the specified values.
(Defined by LinqToMongo.)
Public Extension MethodExplainTOverloaded.
Returns an explanation of how the query was executed (instead of the results).
(Defined by LinqExtensionMethods.)
Public Extension MethodExplainT(Boolean)Overloaded.
Returns an explanation of how the query was executed (instead of the results).
(Defined by LinqExtensionMethods.)
Public Extension MethodFirstMatchingElementT
Represents the first matching element in an array used in a query (corresponds to the server's "$" update operator).
(Defined by MongoEnumerable.)
Public Extension MethodFirstNT, TResult(FuncT, TResult, Int32)Overloaded.
Returns the first n results.
(Defined by MongoEnumerable.)
Public Extension MethodFirstNT, TKey, TResult(FuncT, TResult, TKey, FuncTKey, Int32)Overloaded.
Returns the first n results.
(Defined by MongoEnumerable.)
Public Extension MethodLastNT, TResult(FuncT, TResult, Int32)Overloaded.
Returns the last n results.
(Defined by MongoEnumerable.)
Public Extension MethodLastNT, TKey, TResult(FuncT, TResult, TKey, FuncTKey, Int32)Overloaded.
Returns the last n results.
(Defined by MongoEnumerable.)
Public Extension MethodMaxNT, TResult(FuncT, TResult, Int32)Overloaded.
Returns the max n results.
(Defined by MongoEnumerable.)
Public Extension MethodMaxNT, TKey, TResult(FuncT, TResult, TKey, FuncTKey, Int32)Overloaded.
Returns the max n results.
(Defined by MongoEnumerable.)
Public Extension MethodMinNT, TResult(FuncT, TResult, Int32)Overloaded.
Returns the min n results.
(Defined by MongoEnumerable.)
Public Extension MethodMinNT, TKey, TResult(FuncT, TResult, TKey, FuncTKey, Int32)Overloaded.
Returns the min n results.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationT(FuncT, Int32)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationT(FuncT, NullableInt32)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationT(FuncT, Int64)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationT(FuncT, NullableInt64)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationT(FuncT, Single)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationT(FuncT, NullableSingle)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationT(FuncT, Double)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationT(FuncT, NullableDouble)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationT(FuncT, Decimal)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationT(FuncT, NullableDecimal)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleT(FuncT, Int32)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleT(FuncT, NullableInt32)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleT(FuncT, Int64)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleT(FuncT, NullableInt64)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleT(FuncT, Single)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleT(FuncT, NullableSingle)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleT(FuncT, Double)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleT(FuncT, NullableDouble)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleT(FuncT, Decimal)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleT(FuncT, NullableDecimal)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Public Extension MethodTopT, TResult
Returns the top n results.
(Defined by MongoEnumerable.)
Public Extension MethodTopNT, TResult(SortDefinitionT, FuncT, TResult, Int32)Overloaded.
Returns the top n results.
(Defined by MongoEnumerable.)
Public Extension MethodTopNT, TKey, TResult(SortDefinitionT, FuncT, TResult, TKey, FuncTKey, Int32)Overloaded.
Returns the top n results.
(Defined by MongoEnumerable.)
Public Extension MethodWhereT
Filters a sequence of values based on a predicate and limits the number of results.
(Defined by MongoEnumerable.)
Public Extension MethodWithIndexT(String)Overloaded.
Sets an index hint on the query that's being built.
(Defined by LinqToMongo.)
Public Extension MethodWithIndexT(BsonDocument)Overloaded.
Sets an index hint on the query that's being built.
(Defined by LinqToMongo.)
Top
See Also