diff --git a/config/redirects b/config/redirects index b593fff5..4ef53e81 100644 --- a/config/redirects +++ b/config/redirects @@ -93,4 +93,5 @@ raw: ${prefix}/master -> ${base}/upcoming/ [*-master]: ${prefix}/${version}/fundamentals/authentication/ldap/ -> ${base}/${version}/security/authentication/ldap/ [*-master]: ${prefix}/${version}/fundamentals/authentication/oidc/ -> ${base}/${version}/security/authentication/oidc/ [*-master]: ${prefix}/${version}/fundamentals/authentication/scram/ -> ${base}/${version}/security/authentication/scram/ -[*-master]: ${prefix}/${version}/fundamentals/authentication/x509/ -> ${base}/${version}/security/authentication/x509/ \ No newline at end of file +[*-master]: ${prefix}/${version}/fundamentals/authentication/x509/ -> ${base}/${version}/security/authentication/x509/ +[*-master]: ${prefix}/${version}/crud/query/specify-documents-to-return/ -> ${base}/${version}/crud/query/specify-documents/ \ No newline at end of file diff --git a/source/crud/query.txt b/source/crud/query.txt index 93468c74..ddf3e097 100644 --- a/source/crud/query.txt +++ b/source/crud/query.txt @@ -14,7 +14,7 @@ Read Operations Specify a Query Find Documents - Specify Documents to Return + Specify Documents to Return Specify Fields to Return Count Documents Distinct Field Values diff --git a/source/crud/query/specify-documents-to-return.txt b/source/crud/query/specify-documents.txt similarity index 89% rename from source/crud/query/specify-documents-to-return.txt rename to source/crud/query/specify-documents.txt index 54a3b1c7..6c6a8412 100644 --- a/source/crud/query/specify-documents-to-return.txt +++ b/source/crud/query/specify-documents.txt @@ -13,7 +13,7 @@ Specify Documents to Return .. facet:: :name: genre :values: reference - + .. meta:: :keywords: read, paginate, pagination, order, code example @@ -181,7 +181,7 @@ skipping the first ``10`` documents: .. output:: :visible: false - + Acqua Acqua Restaurant Acqua Santa @@ -217,26 +217,4 @@ guide, see the following API documentation: - `IFindFluent <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IFindFluent-2.html>`_ - `Limit() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IFindFluent-2.Limit.html>`_ - `Sort() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IFindFluent-2.Sort.html>`_ -- `Skip() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IFindFluent-2.Skip.html>`_ - -.. TODO: integrate into existing page - -Sample Class ------------- - -The code examples in this guide demonstrate how you can use builders to -create types to interact with documents in the sample collection ``plants.flowers``. -Documents in this collection are modeled by the following ``Flower`` class: - -.. literalinclude:: /includes/fundamentals/code-examples/builders.cs - :language: csharp - :dedent: - :start-after: start-model - :end-before: end-model - -Each builder class takes a generic type parameter -``TDocument`` which represents the type of document that you are working -with. In this guide, the ``Flower`` class is the document type used in -each builder class example. - -- `SortDefinitionBuilder <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.SortDefinitionBuilder-1.html>`__ \ No newline at end of file +- `Skip() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IFindFluent-2.Skip.html>`_ \ No newline at end of file