mirror of
https://github.com/django/django.git
synced 2025-03-13 10:50:55 +00:00
[5.1.x] Removed outdated note about lack of subquery support in MySQL.
Backport of 26a67943ac5c2f196621220b24f4314d84471d07 from main.
This commit is contained in:
parent
9b09a4fd95
commit
fcb71a76cc
@ -1595,9 +1595,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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user