Skip to content

Commit 87b5642

Browse files
authored
DOCSP-45382 - Specify Documents (#622)
1 parent 3dbe87c commit 87b5642

File tree

3 files changed

+6
-27
lines changed

3 files changed

+6
-27
lines changed

config/redirects

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,5 @@ raw: ${prefix}/master -> ${base}/upcoming/
9494
[*-master]: ${prefix}/${version}/fundamentals/authentication/oidc/ -> ${base}/${version}/security/authentication/oidc/
9595
[*-master]: ${prefix}/${version}/fundamentals/authentication/scram/ -> ${base}/${version}/security/authentication/scram/
9696
[*-master]: ${prefix}/${version}/fundamentals/authentication/x509/ -> ${base}/${version}/security/authentication/x509/
97-
[*-master]: ${prefix}/${version}/crud/query/specify-query/ -> ${base}/${version}/crud/query/query-filter/
97+
[*-master]: ${prefix}/${version}/crud/query/specify-documents-to-return/ -> ${base}/${version}/crud/query/specify-documents/
98+
[*-master]: ${prefix}/${version}/crud/query/specify-query/ -> ${base}/${version}/crud/query/query-filter/

source/crud/query.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Read Operations
1414

1515
Specify a Query </crud/query/query-filter>
1616
Find Documents </crud/query/find>
17-
Specify Documents to Return </crud/query/specify-documents-to-return>
17+
Specify Documents to Return </crud/query/specify-documents>
1818
Specify Fields to Return </crud/query/project>
1919
Count Documents </crud/query/count>
2020
Distinct Field Values </crud/query/distinct>

source/crud/query/specify-documents-to-return.txt renamed to source/crud/query/specify-documents.txt

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Specify Documents to Return
1313
.. facet::
1414
:name: genre
1515
:values: reference
16-
16+
1717
.. meta::
1818
:keywords: read, paginate, pagination, order, code example
1919

@@ -181,7 +181,7 @@ skipping the first ``10`` documents:
181181

182182
.. output::
183183
:visible: false
184-
184+
185185
Acqua
186186
Acqua Restaurant
187187
Acqua Santa
@@ -217,26 +217,4 @@ guide, see the following API documentation:
217217
- `IFindFluent <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IFindFluent-2.html>`_
218218
- `Limit() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IFindFluent-2.Limit.html>`_
219219
- `Sort() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IFindFluent-2.Sort.html>`_
220-
- `Skip() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IFindFluent-2.Skip.html>`_
221-
222-
.. TODO: integrate into existing page
223-
224-
Sample Class
225-
------------
226-
227-
The code examples in this guide demonstrate how you can use builders to
228-
create types to interact with documents in the sample collection ``plants.flowers``.
229-
Documents in this collection are modeled by the following ``Flower`` class:
230-
231-
.. literalinclude:: /includes/fundamentals/code-examples/builders.cs
232-
:language: csharp
233-
:dedent:
234-
:start-after: start-model
235-
:end-before: end-model
236-
237-
Each builder class takes a generic type parameter
238-
``TDocument`` which represents the type of document that you are working
239-
with. In this guide, the ``Flower`` class is the document type used in
240-
each builder class example.
241-
242-
- `SortDefinitionBuilder <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.SortDefinitionBuilder-1.html>`__
220+
- `Skip() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IFindFluent-2.Skip.html>`_

0 commit comments

Comments
 (0)