Details
-
Task
-
Resolution: Fixed
-
Unknown
-
None
-
None
Description
Add the following methods to ExecutableQuery
public static ExecutableQuery<TDocument, TOutput, TResult> Create<TDocument, TOutput, TResult>( |
IMongoCollection<TDocument> collection,
|
AggregateOptions options,
|
AstPipeline unoptimizedPipeline,
|
IExecutableQueryFinalizer<TOutput, TResult> finalizer)
|
|
|
public abstract ExecutableQuery<TDocument, TResult> WithCollection(IMongoCollection<TDocument> collection); |
|
|
public abstract ExecutableQuery<TDocument, TResult> WithOptions(AggregateOptions options); |
|
The new Create factory method facilitates creating new instances more succinctly, and the two new With methods will be used by QueryableExecutionModel3 when wrapping an ExecutableQuery.