From fcb71a76cc1f599f7abbce33e52d4e609d936b40 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Wed, 28 Aug 2024 19:55:30 +0100 Subject: [PATCH] [5.1.x] Removed outdated note about lack of subquery support in MySQL. Backport of 26a67943ac5c2f196621220b24f4314d84471d07 from main. --- docs/ref/models/querysets.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 3f9e90da20..9778140dd2 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1595,9 +1595,7 @@ of the arguments is required, but you should use at least one of them. FROM blog_blog; Note that the parentheses required by most database engines around - subqueries are not required in Django's ``select`` clauses. Also note - that some database backends, such as some MySQL versions, don't support - subqueries. + subqueries are not required in Django's ``select`` clauses. In some rare cases, you might wish to pass parameters to the SQL fragments in ``extra(select=...)``. For this purpose, use the