File tree Expand file tree Collapse file tree 27 files changed +34
-34
lines changed
source/reference/operator/aggregation Expand file tree Collapse file tree 27 files changed +34
-34
lines changed Original file line number Diff line number Diff line change @@ -172,9 +172,9 @@ examples:
172
172
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-c-driver/master/src/libmongoc/tests/test-mongoc-sample-commands.c -o ${DRIVERS_PATH}/test-mongoc-sample-commands.c
173
173
174
174
# c++
175
- curl -SfL https://raw.githubusercontent.com/mongodb/mongo-cxx-driver/master/src /mongocxx/test/transactions .cpp -o ${DRIVERS_PATH}/cpp-transactions.cpp
175
+ curl -SfL https://raw.githubusercontent.com/mongodb/mongo-cxx-driver/master/examples /mongocxx/mongodb.com/transactions_examples .cpp -o ${DRIVERS_PATH}/cpp-transactions.cpp
176
176
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-cxx-driver/master/examples/mongocxx/with_transaction.cpp -o ${DRIVERS_PATH}/cpp-with-transaction.cpp
177
- curl -SfL https://raw.githubusercontent.com/mongodb/mongo-cxx-driver/master/src /mongocxx/test/versioned_api .cpp -o ${DRIVERS_PATH}/cpp-versioned_api.cpp
177
+ curl -SfL https://raw.githubusercontent.com/mongodb/mongo-cxx-driver/master/examples /mongocxx/mongodb.com/versioned_api_examples .cpp -o ${DRIVERS_PATH}/cpp-versioned_api.cpp
178
178
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-cxx-driver/master/examples/mongocxx/mongodb.com/documentation_examples.cpp -o ${DRIVERS_PATH}/cpp-documentation-examples.cpp
179
179
180
180
# go
Original file line number Diff line number Diff line change @@ -550,7 +550,7 @@ Examples
550
550
551
551
.. replacement:: method-name-and-link
552
552
553
- `Bucket() <{+csharp-new- api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Bucket.html>`__
553
+ `Bucket() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Bucket.html>`__
554
554
555
555
.. replacement:: stage-specific-info
556
556
@@ -568,7 +568,7 @@ Examples
568
568
:end-before: // end bucket
569
569
570
570
To customize the ``$bucket`` operation, pass an
571
- `AggregateBucketOptions <{+csharp-new- api-docs+}/MongoDB.Driver/MongoDB.Driver.AggregateBucketOptions-1.html>`__
571
+ `AggregateBucketOptions <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.AggregateBucketOptions-1.html>`__
572
572
object to the ``Bucket()`` method.
573
573
The following example performs the same ``$bucket`` operation as the previous example,
574
574
but groups all documents with a ``Runtime`` value greater than ``999`` into the
Original file line number Diff line number Diff line change @@ -601,7 +601,7 @@ Example
601
601
602
602
.. replacement:: method-name-and-link
603
603
604
- `BucketAuto() <{+csharp-new- api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.BucketAuto.html>`__
604
+ `BucketAuto() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.BucketAuto.html>`__
605
605
606
606
.. replacement:: stage-specific-info
607
607
@@ -618,7 +618,7 @@ Example
618
618
:language: csharp
619
619
:dedent: 8
620
620
621
- You can use an `AggregateBucketAutoOptions <{+csharp-new- api-docs+}/MongoDB.Driver/MongoDB.Driver.AggregateBucketAutoOptions.html>`__
621
+ You can use an `AggregateBucketAutoOptions <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.AggregateBucketAutoOptions.html>`__
622
622
object to specify a :wikipedia:`preferred number <Preferred_number>`
623
623
-based scheme to set boundary values.
624
624
The following example performs the same ``$bucketAuto`` operation as the previous
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ Examples
162
162
163
163
.. replacement:: method-name-and-link
164
164
165
- `ChangeStream() <{+csharp-new- api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.ChangeStream.html>`__
165
+ `ChangeStream() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.ChangeStream.html>`__
166
166
167
167
.. replacement:: stage-specific-info
168
168
@@ -178,7 +178,7 @@ Examples
178
178
:language: csharp
179
179
:dedent: 8
180
180
181
- You can use a `ChangeStreamStageOptions <{+csharp-new- api-docs+}/MongoDB.Driver/MongoDB.Driver.ChangeStreamStageOptions.html>`__
181
+ You can use a `ChangeStreamStageOptions <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.ChangeStreamStageOptions.html>`__
182
182
object to customize the behavior of the change stream.
183
183
The following example performs the same ``$changeStream`` operation as the previous
184
184
example, but specifies the following options:
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ Example
276
276
277
277
.. replacement:: method-name-and-link
278
278
279
- `ChangeStreamSplitLargeEvent() <{+csharp-new- api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.ChangeStreamSplitLargeEvent.html>`__
279
+ `ChangeStreamSplitLargeEvent() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.ChangeStreamSplitLargeEvent.html>`__
280
280
281
281
.. replacement:: stage-specific-info
282
282
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ Examples
149
149
150
150
.. replacement:: method-name-and-link
151
151
152
- `Count() <{+csharp-new- api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Count.html>`__
152
+ `Count() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Count.html>`__
153
153
154
154
.. replacement:: stage-specific-info
155
155
Original file line number Diff line number Diff line change @@ -606,7 +606,7 @@ Examples
606
606
607
607
.. replacement:: method-name-and-link
608
608
609
- `Densify() <{+csharp-new- api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Densify.html>`__
609
+ `Densify() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Densify.html>`__
610
610
611
611
.. replacement:: stage-specific-info
612
612
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ Examples
176
176
177
177
.. replacement:: method-name-and-link
178
178
179
- `Documents() <{+csharp-new- api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Documents.html>`__
179
+ `Documents() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Documents.html>`__
180
180
181
181
.. replacement:: stage-specific-info
182
182
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ Example
296
296
297
297
.. replacement:: method-name-and-link
298
298
299
- `Facet() <{+csharp-new- api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Facet.html>`__
299
+ `Facet() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Facet.html>`__
300
300
301
301
.. replacement:: stage-specific-info
302
302
Original file line number Diff line number Diff line change @@ -625,7 +625,7 @@ Examples
625
625
626
626
.. replacement:: method-name-and-link
627
627
628
- `GraphLookup() <{+csharp-new- api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.GraphLookup.html>`__
628
+ `GraphLookup() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.GraphLookup.html>`__
629
629
630
630
.. replacement:: stage-specific-info
631
631
@@ -642,7 +642,7 @@ Examples
642
642
:language: csharp
643
643
:dedent: 8
644
644
645
- You can use an `AggregateGraphLookupOptions <{+csharp-new- api-docs+}/MongoDB.Driver/MongoDB.Driver.AggregateGraphLookupOptions-3.html>`__
645
+ You can use an `AggregateGraphLookupOptions <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.AggregateGraphLookupOptions-3.html>`__
646
646
object to specify the depth to recurse and name of the depth field. The following
647
647
code example performs the same ``$graphLookup`` operation as the previous example,
648
648
but specifies a maximum recursion depth of ``1``:
You can’t perform that action at this time.
0 commit comments