1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Removed outdated note about lack of subquery support in MySQL.

This commit is contained in:
Adam Johnson 2024-08-28 19:55:30 +01:00 committed by GitHub
parent 920efe503f
commit 26a67943ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1599,9 +1599,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