1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #20888 -- Added index order introspection.

This commit is contained in:
Akshesh
2016-07-26 06:34:28 +05:30
committed by Tim Graham
parent 5eab1f6f83
commit f842d1011c
8 changed files with 78 additions and 16 deletions

View File

@@ -311,6 +311,13 @@ Database backend API
* To enable ``FOR UPDATE SKIP LOCKED`` support, set
``DatabaseFeatures.has_select_for_update_skip_locked = True``.
* The new ``DatabaseFeatures.supports_index_column_ordering`` attribute
specifies if a database allows defining ordering for columns in indexes. The
default value is ``True`` and the ``DatabaseIntrospection.get_constraints()``
method should include an ``'orders'`` key in each of the returned
dictionaries with a list of ``'ASC'`` and/or ``'DESC'`` values corresponding
to the the ordering of each column in the index.
Dropped support for PostgreSQL 9.2 and PostGIS 2.0
--------------------------------------------------