Пример #1
0
 public IAggregateFluent <TNewResult> GraphLookup <TFrom, TConnectFrom, TConnectTo, TStartWith, TAsElement, TAs, TNewResult>(IMongoCollection <TFrom> from, FieldDefinition <TFrom, TConnectFrom> connectFromField, FieldDefinition <TFrom, TConnectTo> connectToField, AggregateExpressionDefinition <BsonDocument, TStartWith> startWith, FieldDefinition <TNewResult, TAs> @as, FieldDefinition <TAsElement, int> depthField, AggregateGraphLookupOptions <TFrom, TAsElement, TNewResult> options = null) where TAs : IEnumerable <TAsElement>
 {
     return(BlockProvider.GraphLookup <TFrom, TConnectFrom, TConnectTo, TStartWith, TAsElement, TAs, TNewResult>(from, connectFromField, connectToField, startWith, @as, depthField, options));
 }
Пример #2
0
 public IAggregateFluent <TNewResult> BucketAuto <TValue, TNewResult>(AggregateExpressionDefinition <BsonDocument, TValue> groupBy, int buckets, ProjectionDefinition <BsonDocument, TNewResult> output, AggregateBucketAutoOptions options = null)
 {
     return(BlockProvider.BucketAuto <TValue, TNewResult>(groupBy, buckets, output, options));
 }
Пример #3
0
 public IAggregateFluent <AggregateBucketAutoResult <TValue> > BucketAuto <TValue>(AggregateExpressionDefinition <BsonDocument, TValue> groupBy, int buckets, AggregateBucketAutoOptions options = null)
 {
     return(BlockProvider.BucketAuto <TValue>(groupBy, buckets, options));
 }
Пример #4
0
 public IAggregateFluent <TNewResult> Bucket <TValue, TNewResult>(AggregateExpressionDefinition <BsonDocument, TValue> groupBy, IEnumerable <TValue> boundaries, ProjectionDefinition <BsonDocument, TNewResult> output, AggregateBucketOptions <TValue> options = null)
 {
     return(BlockProvider.Bucket <TValue, TNewResult>(groupBy, boundaries, output, options));
 }
Пример #5
0
 public IAggregateFluent <AggregateSortByCountResult <TId> > SortByCount <TId>(AggregateExpressionDefinition <BsonDocument, TId> id)
 {
     return(BlockProvider.SortByCount <TId>(id));
 }
Пример #6
0
 public IAggregateFluent <TNewResult> ReplaceWith <TNewResult>(AggregateExpressionDefinition <BsonDocument, TNewResult> newRoot)
 {
     return(BlockProvider.ReplaceWith <TNewResult>(newRoot));
 }