File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,13 @@ on the ``recipes`` collection:
198
198
Advanced Index Configuration
199
199
----------------------------
200
200
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
+
201
208
.. _django-indexes-partial:
202
209
203
210
Partial Indexes
@@ -274,10 +281,10 @@ creates a unique compound index on these fields:
274
281
To learn more about the ``Meta`` class's ``constraint`` option, see `Constraints
275
282
<{+django-docs+}/ref/models/constraints/>`__ in the Django documentation.
276
283
277
- .. _django-indexes-expressions :
284
+ .. _django-indexes-functions :
278
285
279
- Index Expressions
280
- ~~~~~~~~~~~~~~~~~
286
+ Function Indexes
287
+ ~~~~~~~~~~~~~~~~
281
288
282
289
To create indexes on expressions and database functions, pass the
283
290
``expressions`` argument to the ``models.Index()`` method. When using
You can’t perform that action at this time.
0 commit comments