1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

[5.1.x] Removed outdated note about lack of subquery support in MySQL.

Backport of 26a67943ac from main.
This commit is contained in:
Adam Johnson
2024-08-28 19:55:30 +01:00
committed by Natalia
parent 9b09a4fd95
commit fcb71a76cc

View File

@@ -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