File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -147,8 +147,11 @@ function accepts the following arguments:
147147- ``uri``: Your MongoDB connection URI.
148148- ``conn_max_age``: Configures persistent database connections.
149149 This argument is optional. To learn more, see
150- `Persistent connections <{+django-docs+}/ref/databases/# persistent-database-connections>`__
150+ :py:mod:` persistent-database-connections`
151151 in the {+framework+} documentation.
152+ :py:module:`persistent-database-connections`
153+ :py:mod:`~persistent-database-connections`
154+ :py:module:`~persistent-database-connections`
152155- ``test``: Provides a dictionary of settings for test
153156 databases. This argument is optional. To learn more, see
154157 `the TEST setting <{+django-docs+}/ref/settings/#test>`__
Original file line number Diff line number Diff line change @@ -40,13 +40,9 @@ to the database in pipeline stages.
4040 {+framework+} provides a ``QuerySet.aggregate()`` method, which differs from the
4141 ``QuerySet.raw_aggregate()`` method. You can use ``aggregate()`` to retrieve
4242 values by aggregating a collection of model objects. To learn more about
43- the ``aggregate()`` method, see :py:mod :`~topics/db/aggregation `
43+ the ``aggregate()`` method, see :py:meth :`~django.db.models.query.QuerySet.aggregate `
4444 in the {+framework+} documentation.
45- :py:module:`~topics/db/aggregation`
46- :py:module:`topics/db/aggregation`
47- :py:mod:`topics/db/aggregation`
48- :py:meth:`~django.db.models.query.QuerySet.aggregate`
49-
45+
5046You can run database queries by calling ``QuerySet`` methods on your model's
5147``Manager``. The ``Manager`` class handles database operations and allows you
5248to interact with your MongoDB data by referencing {+framework+} models. By default,
Original file line number Diff line number Diff line change @@ -741,7 +741,8 @@ provided ``KT()`` expressions.
741741 see the following resources in the {+framework+} documentation:
742742
743743 - `KT() expressions <{+django-docs+}/topics/db/queries/#module-django.db.models.fields.json>`__
744- - `annotate() <{+django-docs+}/ref/models/querysets/#django.db.models.query.QuerySet.annotate>`__
744+ :py:mod:`~django.db.models.fields.json`
745+ - :py:meth:`~django.db.models.query.QuerySet.annotate`
745746
746747The following example uses ``annotate()`` and ``KT()`` to create a
747748new ``score`` key, which stores ``imdb.rating`` nested field values.
You can’t perform that action at this time.
0 commit comments