0
0
mirror of https://github.com/django/django.git synced 2024-11-28 02:27:42 +01: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; FROM blog_blog;
Note that the parentheses required by most database engines around Note that the parentheses required by most database engines around
subqueries are not required in Django's ``select`` clauses. Also note subqueries are not required in Django's ``select`` clauses.
that some database backends, such as some MySQL versions, don't support
subqueries.
In some rare cases, you might wish to pass parameters to the SQL In some rare cases, you might wish to pass parameters to the SQL
fragments in ``extra(select=...)``. For this purpose, use the fragments in ``extra(select=...)``. For this purpose, use the