Class MongoEnumerable

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Linq

Assembly

MongoDB.Driver.dll

Enumerable Extensions for MongoDB.

public static class MongoEnumerable

Inheritance

MongoEnumerable

Inherited Members

Methods

AllElements(IEnumerable)

Represents all elements in an array (corresponds to the server's "$[]" update operator).

AllMatchingElements(IEnumerable, string)

Represents all matching elements in an array when using an array filter (corresponds to the server's "$[identifier]" update operator).

BottomN<TSource, TResult>(IEnumerable, SortDefinition, Func<TSource, TResult>, int)

Returns the bottom n results.

BottomN<TSource, TKey, TResult>(IEnumerable, SortDefinition, Func<TSource, TResult>, TKey, Func<TKey, int>)

Returns the bottom n results.

Bottom<TSource, TResult>(IEnumerable, SortDefinition, Func<TSource, TResult>)

Returns the bottom result.

FirstMatchingElement(IEnumerable)

Represents the first matching element in an array used in a query (corresponds to the server's "$" update operator).

FirstN<TSource, TResult>(IEnumerable, Func<TSource, TResult>, int)

Returns the first n results.

FirstN<TSource, TKey, TResult>(IEnumerable, Func<TSource, TResult>, TKey, Func<TKey, int>)

Returns the first n results.

LastN<TSource, TResult>(IEnumerable, Func<TSource, TResult>, int)

Returns the last n results.

LastN<TSource, TKey, TResult>(IEnumerable, Func<TSource, TResult>, TKey, Func<TKey, int>)

Returns the last n results.

MaxN<TSource, TResult>(IEnumerable, Func<TSource, TResult>, int)

Returns the max n results.

MaxN<TSource, TKey, TResult>(IEnumerable, Func<TSource, TResult>, TKey, Func<TKey, int>)

Returns the max n results.

MinN<TSource, TResult>(IEnumerable, Func<TSource, TResult>, int)

Returns the min n results.

MinN<TSource, TKey, TResult>(IEnumerable, Func<TSource, TResult>, TKey, Func<TKey, int>)

Returns the min n results.

StandardDeviationPopulation(IEnumerable)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IEnumerable)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IEnumerable)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IEnumerable)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IEnumerable<decimal?>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IEnumerable<double?>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IEnumerable<int?>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IEnumerable<long?>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IEnumerable<float?>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IEnumerable)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IEnumerable, Func<TSource, decimal>)

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.

StandardDeviationPopulation(IEnumerable, Func<TSource, double>)

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.

StandardDeviationPopulation(IEnumerable, Func<TSource, int>)

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.

StandardDeviationPopulation(IEnumerable, Func<TSource, long>)

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.

StandardDeviationPopulation(IEnumerable, Func<TSource, decimal?>)

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.

StandardDeviationPopulation(IEnumerable, Func<TSource, double?>)

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.

StandardDeviationPopulation(IEnumerable, Func<TSource, int?>)

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.

StandardDeviationPopulation(IEnumerable, Func<TSource, long?>)

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.

StandardDeviationPopulation(IEnumerable, Func<TSource, float?>)

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.

StandardDeviationPopulation(IEnumerable, Func<TSource, float>)

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.

StandardDeviationSample(IEnumerable)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IEnumerable)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IEnumerable)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IEnumerable)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IEnumerable<decimal?>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IEnumerable<double?>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IEnumerable<int?>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IEnumerable<long?>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IEnumerable<float?>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IEnumerable)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IEnumerable, Func<TSource, decimal>)

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.

StandardDeviationSample(IEnumerable, Func<TSource, double>)

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.

StandardDeviationSample(IEnumerable, Func<TSource, int>)

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.

StandardDeviationSample(IEnumerable, Func<TSource, long>)

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.

StandardDeviationSample(IEnumerable, Func<TSource, decimal?>)

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.

StandardDeviationSample(IEnumerable, Func<TSource, double?>)

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.

StandardDeviationSample(IEnumerable, Func<TSource, int?>)

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.

StandardDeviationSample(IEnumerable, Func<TSource, long?>)

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.

StandardDeviationSample(IEnumerable, Func<TSource, float?>)

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.

StandardDeviationSample(IEnumerable, Func<TSource, float>)

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.

TopN<TSource, TResult>(IEnumerable, SortDefinition, Func<TSource, TResult>, int)

Returns the top n results.

TopN<TSource, TKey, TResult>(IEnumerable, SortDefinition, Func<TSource, TResult>, TKey, Func<TKey, int>)

Returns the top n results.

Top<TSource, TResult>(IEnumerable, SortDefinition, Func<TSource, TResult>)

Returns the top n results.

Where(IEnumerable, Func<TSource, bool>, int)

Filters a sequence of values based on a predicate and limits the number of results.