mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+.
This commit is contained in:
parent
f997b5e6ae
commit
8c7992f658
20 changed files with 719 additions and 41 deletions
|
@ -185,6 +185,10 @@ Models
|
|||
* :class:`When() <django.db.models.expressions.When>` expression now allows
|
||||
using the ``condition`` argument with ``lookups``.
|
||||
|
||||
* The new :attr:`.Index.include` and :attr:`.UniqueConstraint.include`
|
||||
attributes allow creating covering indexes and covering unique constraints on
|
||||
PostgreSQL 11+.
|
||||
|
||||
Requests and Responses
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
@ -263,6 +267,10 @@ backends.
|
|||
* ``introspected_small_auto_field_type``
|
||||
* ``introspected_boolean_field_type``
|
||||
|
||||
* To enable support for covering indexes (:attr:`.Index.include`) and covering
|
||||
unique constraints (:attr:`.UniqueConstraint.include`), set
|
||||
``DatabaseFeatures.supports_covering_indexes`` to ``True``.
|
||||
|
||||
:mod:`django.contrib.gis`
|
||||
-------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue