mirror of
https://github.com/django/django.git
synced 2025-08-10 13:58:43 +00:00
Fixed #28574 -- Added QuerySet.explain().
This commit is contained in:
parent
df90e462d9
commit
c1c163b427
15 changed files with 253 additions and 0 deletions
|
@ -50,6 +50,8 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
|||
$$ LANGUAGE plpgsql;"""
|
||||
supports_over_clause = True
|
||||
supports_aggregate_filter_clause = True
|
||||
supported_explain_formats = {'JSON', 'TEXT', 'XML', 'YAML'}
|
||||
validates_explain_options = False # A query will error on invalid options.
|
||||
|
||||
@cached_property
|
||||
def is_postgresql_9_5(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue