Skip to content

Commit 20c31c6

Browse files
committed
cross links
1 parent 508d1ca commit 20c31c6

File tree

6 files changed

+37
-2
lines changed

6 files changed

+37
-2
lines changed

source/fundamentals/builders/aggregates.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ modeled by the following ``Movie`` data class for use with the Kotlin driver:
5454
.. literalinclude:: /examples/generated/AggregatesBuilderTest.snippet.movie-data-class.kt
5555
:language: kotlin
5656

57+
.. tip:: Aggregates and Data Class Properties
58+
59+
You can use methods from the ``Aggregates`` and
60+
``Accumulators`` classes directly with data class
61+
properties by adding the optional {+driver-short +} extensions
62+
dependency to your application. To learn more and view examples, see
63+
the :ref:`kotlin-builders-data-classes` guide.
64+
5765
Match
5866
-----
5967

source/fundamentals/builders/filters.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ with the Kotlin driver:
8585
.. tip:: Filters and Data Class Properties
8686

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

source/fundamentals/builders/indexes.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ instance, which you can pass to
4545

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

48+
.. tip:: Indexes and Data Class Properties
49+
50+
You can use methods from the ``Indexes`` class directly with data class
51+
properties by adding the optional {+driver-short +} extensions
52+
dependency to your application. To learn more and view examples, see
53+
the :ref:`kotlin-builders-data-classes` guide.
54+
4855
.. _ascending-indexes:
4956

5057
Ascending Indexes

source/fundamentals/builders/projections.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ to any method that expects a projection.
4040

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

43-
4443
Sample Documents and Examples
4544
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4645

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

98+
.. tip:: Projections and Data Class Properties
99+
100+
You can use methods from the ``Projections`` class directly with data class
101+
properties by adding the optional {+driver-short +} extensions
102+
dependency to your application. To learn more and view examples, see
103+
the :ref:`kotlin-builders-data-classes` guide.
104+
99105
Projection Operations
100106
---------------------
101107

source/fundamentals/builders/sort.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ This data is modeled with the following Kotlin data class:
5353
.. literalinclude:: /examples/generated/SortTest.snippet.sort-data-model.kt
5454
:language: kotlin
5555

56+
.. tip:: Sorts and Data Class Properties
57+
58+
You can use methods from the ``Sorts`` class directly with data class
59+
properties by adding the optional {+driver-short +} extensions
60+
dependency to your application. To learn more and view examples, see
61+
the :ref:`kotlin-builders-data-classes` guide.
62+
5663
The Sorts Class
5764
---------------
5865

source/fundamentals/builders/updates.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ This example is modeled by the following data class unless otherwise noted:
6868
.. literalinclude:: /examples/generated/UpdatesBuildersTest.snippet.example-data-class.kt
6969
:language: kotlin
7070

71+
.. tip:: Updates and Data Class Properties
72+
73+
You can use methods from the ``Updates`` class directly with data class
74+
properties by adding the optional {+driver-short +} extensions
75+
dependency to your application. To learn more and view examples, see
76+
the :ref:`kotlin-builders-data-classes` guide.
77+
7178
.. _field_updates:
7279

7380
Field Updates

0 commit comments

Comments
 (0)