Skip to content

Commit 4e6ee50

Browse files
committed
edits
1 parent a1c584a commit 4e6ee50

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

source/model-data/indexes.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@ on the ``recipes`` collection:
198198
Advanced Index Configuration
199199
----------------------------
200200

201+
This section shows how to create the following advanced
202+
index types:
203+
204+
- :ref:`django-indexes-partial`
205+
- :ref:`django-indexes-unique`
206+
- :ref:`django-indexes-functions`
207+
201208
.. _django-indexes-partial:
202209

203210
Partial Indexes
@@ -274,10 +281,10 @@ creates a unique compound index on these fields:
274281
To learn more about the ``Meta`` class's ``constraint`` option, see `Constraints
275282
<{+django-docs+}/ref/models/constraints/>`__ in the Django documentation.
276283

277-
.. _django-indexes-expressions:
284+
.. _django-indexes-functions:
278285

279-
Index Expressions
280-
~~~~~~~~~~~~~~~~~
286+
Function Indexes
287+
~~~~~~~~~~~~~~~~
281288

282289
To create indexes on expressions and database functions, pass the
283290
``expressions`` argument to the ``models.Index()`` method. When using

0 commit comments

Comments
 (0)