Table of Contents

Class MongoQueryable

Namespace
MongoDB.Driver.Linq
Assembly
MongoDB.Driver.dll

LINQ extension methods for IQueryable.

public static class MongoQueryable
Inheritance
MongoQueryable
Inherited Members

Methods

AnyAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, bool>>, CancellationToken)

Determines whether any element of a sequence satisfies a condition.

AnyAsync<TSource>(IQueryable<TSource>, CancellationToken)

Determines whether a sequence contains any elements.

AppendStage<TSource, TResult>(IQueryable<TSource>, PipelineStageDefinition<TSource, TResult>, IBsonSerializer<TResult>)

Appends an arbitrary stage to the LINQ pipeline.

As<TSource, TResult>(IQueryable<TSource>, IBsonSerializer<TResult>)

Allows the results to be interpreted as a different type. It is up to the caller to determine that the new result type is compatible with the actual results.

AverageAsync(IQueryable<decimal>, CancellationToken)

Computes the average of a sequence of decimal values.

AverageAsync(IQueryable<double>, CancellationToken)

Computes the average of a sequence of double values.

AverageAsync(IQueryable<int>, CancellationToken)

Computes the average of a sequence of int values.

AverageAsync(IQueryable<long>, CancellationToken)

Computes the average of a sequence of long values.

AverageAsync(IQueryable<decimal?>, CancellationToken)

Computes the average of a sequence of Nullable<T> values.

AverageAsync(IQueryable<double?>, CancellationToken)

Computes the average of a sequence of Nullable<T> values.

AverageAsync(IQueryable<int?>, CancellationToken)

Computes the average of a sequence of Nullable<T> values.

AverageAsync(IQueryable<long?>, CancellationToken)

Computes the average of a sequence of Nullable<T> values.

AverageAsync(IQueryable<float?>, CancellationToken)

Computes the average of a sequence of Nullable<T> values.

AverageAsync(IQueryable<float>, CancellationToken)

Computes the average of a sequence of float values.

AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, decimal>>, CancellationToken)

Computes the average of the sequence of decimal values that is obtained by invoking a projection function on each element of the input sequence.

AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, double>>, CancellationToken)

Computes the average of the sequence of double values that is obtained by invoking a projection function on each element of the input sequence.

AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, int>>, CancellationToken)

Computes the average of the sequence of int values that is obtained by invoking a projection function on each element of the input sequence.

AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, long>>, CancellationToken)

Computes the average of the sequence of long values that is obtained by invoking a projection function on each element of the input sequence.

AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, decimal?>>, CancellationToken)

Computes the average of the sequence of Nullable<T> values that is obtained by invoking a projection function on each element of the input sequence.

AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, double?>>, CancellationToken)

Computes the average of the sequence of Nullable<T> values that is obtained by invoking a projection function on each element of the input sequence.

AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, int?>>, CancellationToken)

Computes the average of the sequence of Nullable<T> values that is obtained by invoking a projection function on each element of the input sequence.

AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, long?>>, CancellationToken)

Computes the average of the sequence of Nullable<T> values that is obtained by invoking a projection function on each element of the input sequence.

AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, float?>>, CancellationToken)

Computes the average of the sequence of Nullable<T> values that is obtained by invoking a projection function on each element of the input sequence.

AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, float>>, CancellationToken)

Computes the average of the sequence of float values that is obtained by invoking a projection function on each element of the input sequence.

CountAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, bool>>, CancellationToken)

Returns the number of elements in the specified sequence that satisfies a condition.

CountAsync<TSource>(IQueryable<TSource>, CancellationToken)

Returns the number of elements in a sequence.

Densify<TSource>(IQueryable<TSource>, Expression<Func<TSource, object>>, DensifyRange, IEnumerable<Expression<Func<TSource, object>>>)

Adds a $densify stage to the LINQ pipeline.

Densify<TSource>(IQueryable<TSource>, Expression<Func<TSource, object>>, DensifyRange, params Expression<Func<TSource, object>>[])

Adds a $densify stage to the LINQ pipeline.

Documents<TDocument>(IQueryable<NoPipelineInput>, IEnumerable<TDocument>, IBsonSerializer<TDocument>)

Injects a sequence of documents at the beginning of a pipeline.

Documents<TDocument>(IQueryable<NoPipelineInput>, params TDocument[])

Injects a sequence of documents at the beginning of a pipeline.

FirstAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, bool>>, CancellationToken)

Returns the first element of a sequence that satisfies a specified condition.

FirstAsync<TSource>(IQueryable<TSource>, CancellationToken)

Returns the first element of a sequence.

FirstOrDefaultAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, bool>>, CancellationToken)

Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found.

FirstOrDefaultAsync<TSource>(IQueryable<TSource>, CancellationToken)

Returns the first element of a sequence, or a default value if the sequence contains no elements.

GroupJoin<TOuter, TInner, TKey, TResult>(IQueryable<TOuter>, IMongoCollection<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, IEnumerable<TInner>, TResult>>)

Correlates the elements of two sequences based on key equality and groups the results.

Join<TOuter, TInner, TKey, TResult>(IQueryable<TOuter>, IMongoCollection<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, TInner, TResult>>)

Correlates the elements of two sequences based on matching keys.

LongCountAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, bool>>, CancellationToken)

Returns the number of elements in the specified sequence that satisfies a condition.

LongCountAsync<TSource>(IQueryable<TSource>, CancellationToken)

Returns the number of elements in a sequence.

MaxAsync<TSource>(IQueryable<TSource>, CancellationToken)

Returns the maximum value in a generic IQueryable<T>.

MaxAsync<TSource, TResult>(IQueryable<TSource>, Expression<Func<TSource, TResult>>, CancellationToken)

Invokes a projection function on each element of a generic IQueryable<T> and returns the maximum resulting value.

MinAsync<TSource>(IQueryable<TSource>, CancellationToken)

Returns the minimum value in a generic IQueryable<T>.

MinAsync<TSource, TResult>(IQueryable<TSource>, Expression<Func<TSource, TResult>>, CancellationToken)

Invokes a projection function on each element of a generic IQueryable<T> and returns the minimum resulting value.

Sample<TSource>(IQueryable<TSource>, long)

Returns a sample of the elements in the source.

SearchMeta<TSource>(IQueryable<TSource>, SearchDefinition<TSource>, string, SearchCountOptions)

Appends a $searchMeta stage to the LINQ pipeline.

Search<TSource>(IQueryable<TSource>, SearchDefinition<TSource>, SearchHighlightOptions<TSource>, string, SearchCountOptions, bool, bool)

Appends a $search stage to the LINQ pipeline.

Search<TSource>(IQueryable<TSource>, SearchDefinition<TSource>, SearchOptions<TSource>)

Appends a $search stage to the LINQ pipeline.

SingleAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, bool>>, CancellationToken)

Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists.

SingleAsync<TSource>(IQueryable<TSource>, CancellationToken)

Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.

SingleOrDefaultAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, bool>>, CancellationToken)

Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition.

SingleOrDefaultAsync<TSource>(IQueryable<TSource>, CancellationToken)

Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence.

Skip<TSource>(IQueryable<TSource>, long)

Bypasses a specified number of elements in a sequence and then returns the remaining elements.

StandardDeviationPopulation(IQueryable<decimal>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IQueryable<double>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IQueryable<int>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IQueryable<long>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IQueryable<decimal?>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IQueryable<double?>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IQueryable<int?>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IQueryable<long?>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IQueryable<float?>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulation(IQueryable<float>)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulationAsync(IQueryable<decimal>, CancellationToken)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulationAsync(IQueryable<double>, CancellationToken)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulationAsync(IQueryable<int>, CancellationToken)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulationAsync(IQueryable<long>, CancellationToken)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulationAsync(IQueryable<decimal?>, CancellationToken)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulationAsync(IQueryable<double?>, CancellationToken)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulationAsync(IQueryable<int?>, CancellationToken)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulationAsync(IQueryable<long?>, CancellationToken)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulationAsync(IQueryable<float?>, CancellationToken)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulationAsync(IQueryable<float>, CancellationToken)

Computes the population standard deviation of a sequence of values.

StandardDeviationPopulationAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, decimal>>, CancellationToken)

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.

StandardDeviationPopulationAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, double>>, CancellationToken)

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.

StandardDeviationPopulationAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, int>>, CancellationToken)

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.

StandardDeviationPopulationAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, long>>, CancellationToken)

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.

StandardDeviationPopulationAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, decimal?>>, CancellationToken)

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.

StandardDeviationPopulationAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, double?>>, CancellationToken)

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.

StandardDeviationPopulationAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, int?>>, CancellationToken)

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.

StandardDeviationPopulationAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, long?>>, CancellationToken)

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.

StandardDeviationPopulationAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, float?>>, CancellationToken)

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.

StandardDeviationPopulationAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, float>>, CancellationToken)

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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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(IQueryable<decimal>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IQueryable<double>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IQueryable<int>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IQueryable<long>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IQueryable<decimal?>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IQueryable<double?>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IQueryable<int?>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IQueryable<long?>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IQueryable<float?>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSample(IQueryable<float>)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSampleAsync(IQueryable<decimal>, CancellationToken)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSampleAsync(IQueryable<double>, CancellationToken)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSampleAsync(IQueryable<int>, CancellationToken)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSampleAsync(IQueryable<long>, CancellationToken)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSampleAsync(IQueryable<decimal?>, CancellationToken)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSampleAsync(IQueryable<double?>, CancellationToken)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSampleAsync(IQueryable<int?>, CancellationToken)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSampleAsync(IQueryable<long?>, CancellationToken)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSampleAsync(IQueryable<float?>, CancellationToken)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSampleAsync(IQueryable<float>, CancellationToken)

Computes the sample standard deviation of a sequence of values.

StandardDeviationSampleAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, decimal>>, CancellationToken)

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.

StandardDeviationSampleAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, double>>, CancellationToken)

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.

StandardDeviationSampleAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, int>>, CancellationToken)

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.

StandardDeviationSampleAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, long>>, CancellationToken)

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.

StandardDeviationSampleAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, decimal?>>, CancellationToken)

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.

StandardDeviationSampleAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, double?>>, CancellationToken)

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.

StandardDeviationSampleAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, int?>>, CancellationToken)

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.

StandardDeviationSampleAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, long?>>, CancellationToken)

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.

StandardDeviationSampleAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, float?>>, CancellationToken)

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.

StandardDeviationSampleAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, float>>, CancellationToken)

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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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<TSource>(IQueryable<TSource>, Expression<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.

SumAsync(IQueryable<decimal>, CancellationToken)

Computes the sum of a sequence of decimal values.

SumAsync(IQueryable<double>, CancellationToken)

Computes the sum of a sequence of double values.

SumAsync(IQueryable<int>, CancellationToken)

Computes the sum of a sequence of int values.

SumAsync(IQueryable<long>, CancellationToken)

Computes the sum of a sequence of long values.

SumAsync(IQueryable<decimal?>, CancellationToken)

Computes the sum of a sequence of Nullable<T> values.

SumAsync(IQueryable<double?>, CancellationToken)

Computes the sum of a sequence of Nullable<T> values.

SumAsync(IQueryable<int?>, CancellationToken)

Computes the sum of a sequence of Nullable<T> values.

SumAsync(IQueryable<long?>, CancellationToken)

Computes the sum of a sequence of Nullable<T> values.

SumAsync(IQueryable<float?>, CancellationToken)

Computes the sum of a sequence of Nullable<T> values.

SumAsync(IQueryable<float>, CancellationToken)

Computes the sum of a sequence of float values.

SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, decimal>>, CancellationToken)

Computes the sum of the sequence of decimal values that is obtained by invoking a projection function on each element of the input sequence.

SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, double>>, CancellationToken)

Computes the sum of the sequence of double values that is obtained by invoking a projection function on each element of the input sequence.

SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, int>>, CancellationToken)

Computes the sum of the sequence of int values that is obtained by invoking a projection function on each element of the input sequence.

SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, long>>, CancellationToken)

Computes the sum of the sequence of long values that is obtained by invoking a projection function on each element of the input sequence.

SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, decimal?>>, CancellationToken)

Computes the sum of the sequence of Nullable<T> values that is obtained by invoking a projection function on each element of the input sequence.

SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, double?>>, CancellationToken)

Computes the sum of the sequence of Nullable<T> values that is obtained by invoking a projection function on each element of the input sequence.

SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, int?>>, CancellationToken)

Computes the sum of the sequence of Nullable<T> values that is obtained by invoking a projection function on each element of the input sequence.

SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, long?>>, CancellationToken)

Computes the sum of the sequence of Nullable<T> values that is obtained by invoking a projection function on each element of the input sequence.

SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, float?>>, CancellationToken)

Computes the sum of the sequence of Nullable<T> values that is obtained by invoking a projection function on each element of the input sequence.

SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource, float>>, CancellationToken)

Computes the sum of the sequence of float values that is obtained by invoking a projection function on each element of the input sequence.

Take<TSource>(IQueryable<TSource>, long)

Returns a specified number of contiguous elements from the start of a sequence.

ToCursorAsync<TSource>(IQueryable<TSource>, CancellationToken)

Executes the LINQ query and returns a cursor to the results.

ToCursor<TSource>(IQueryable<TSource>, CancellationToken)

Executes the LINQ query and returns a cursor to the results.

ToListAsync<TSource>(IQueryable<TSource>, CancellationToken)

Executes the LINQ query and returns a list of the results.

VectorSearch<TSource, TField>(IQueryable<TSource>, FieldDefinition<TSource>, QueryVector, int, VectorSearchOptions<TSource>)

Appends a $vectorSearch stage to the LINQ pipeline.

VectorSearch<TSource, TField>(IQueryable<TSource>, Expression<Func<TSource, TField>>, QueryVector, int, VectorSearchOptions<TSource>)

Appends a $vectorSearch stage to the LINQ pipeline.