Skip to content

Commit

Permalink
cross links
Browse files Browse the repository at this point in the history
  • Loading branch information
rustagir committed Jan 14, 2025
1 parent 508d1ca commit 20c31c6
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 2 deletions.
8 changes: 8 additions & 0 deletions source/fundamentals/builders/aggregates.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ modeled by the following ``Movie`` data class for use with the Kotlin driver:
.. literalinclude:: /examples/generated/AggregatesBuilderTest.snippet.movie-data-class.kt
:language: kotlin

.. tip:: Aggregates and Data Class Properties

You can use methods from the ``Aggregates`` and
``Accumulators`` classes directly with data class
properties by adding the optional {+driver-short +} extensions
dependency to your application. To learn more and view examples, see
the :ref:`kotlin-builders-data-classes` guide.

Match
-----

Expand Down
2 changes: 1 addition & 1 deletion source/fundamentals/builders/filters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ with the Kotlin driver:
.. tip:: Filters and Data Class Properties

You can use methods from the ``Filters`` class directly with data class
properties by adding the optional {+driver-short +}extensions
properties by adding the optional {+driver-short +} extensions
dependency to your application. To learn more and view examples, see
the :ref:`kotlin-builders-data-classes` guide.

Expand Down
7 changes: 7 additions & 0 deletions source/fundamentals/builders/indexes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ instance, which you can pass to

import com.mongodb.client.model.Indexes.*

.. tip:: Indexes and Data Class Properties

You can use methods from the ``Indexes`` class directly with data class
properties by adding the optional {+driver-short +} extensions
dependency to your application. To learn more and view examples, see
the :ref:`kotlin-builders-data-classes` guide.

.. _ascending-indexes:

Ascending Indexes
Expand Down
8 changes: 7 additions & 1 deletion source/fundamentals/builders/projections.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ to any method that expects a projection.

import com.mongodb.client.model.Projections.*


Sample Documents and Examples
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -96,6 +95,13 @@ The following data class is used to represent the documents in the collection:
.. literalinclude:: /examples/generated/ProjectionsBuildersTest.snippet.example-data-class.kt
:language: kotlin

.. tip:: Projections and Data Class Properties

You can use methods from the ``Projections`` class directly with data class
properties by adding the optional {+driver-short +} extensions
dependency to your application. To learn more and view examples, see
the :ref:`kotlin-builders-data-classes` guide.

Projection Operations
---------------------

Expand Down
7 changes: 7 additions & 0 deletions source/fundamentals/builders/sort.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ This data is modeled with the following Kotlin data class:
.. literalinclude:: /examples/generated/SortTest.snippet.sort-data-model.kt
:language: kotlin

.. tip:: Sorts and Data Class Properties

You can use methods from the ``Sorts`` class directly with data class
properties by adding the optional {+driver-short +} extensions
dependency to your application. To learn more and view examples, see
the :ref:`kotlin-builders-data-classes` guide.

The Sorts Class
---------------

Expand Down
7 changes: 7 additions & 0 deletions source/fundamentals/builders/updates.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ This example is modeled by the following data class unless otherwise noted:
.. literalinclude:: /examples/generated/UpdatesBuildersTest.snippet.example-data-class.kt
:language: kotlin

.. tip:: Updates and Data Class Properties

You can use methods from the ``Updates`` class directly with data class
properties by adding the optional {+driver-short +} extensions
dependency to your application. To learn more and view examples, see
the :ref:`kotlin-builders-data-classes` guide.

.. _field_updates:

Field Updates
Expand Down

0 comments on commit 20c31c6

Please sign in to comment.