From 55df1750be3c88db89444335f77dca10681dcbe3 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Mon, 21 Oct 2019 17:34:19 +0100 Subject: Refs #30897 -- Added support for ANALYZE option to Queryset.explain() on MariaDB and MySQL 8.0.18+. --- docs/ref/models/querysets.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 136674be2a..766a379a13 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -2587,13 +2587,14 @@ Pass these flags as keyword arguments. For example, when using PostgreSQL:: Execution time: 0.058 ms On some databases, flags may cause the query to be executed which could have -adverse effects on your database. For example, PostgreSQL's ``ANALYZE`` flag -could result in changes to data if there are triggers or if a function is -called, even for a ``SELECT`` query. +adverse effects on your database. For example, the ``ANALYZE`` flag supported +by MariaDB, MySQL 8.0.18+, and PostgreSQL could result in changes to data if +there are triggers or if a function is called, even for a ``SELECT`` query. .. versionchanged:: 3.1 - Support for the ``'TREE'`` format on MySQL 8.0.16+ was added. + Support for the ``'TREE'`` format on MySQL 8.0.16+ and ``analyze`` option + on MariaDB and MySQL 8.0.18+ were added. .. _field-lookups: -- cgit v1.3