mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #30928 -- Clarified MySQL/MariaDB support of QuerySet.select_for_update() options.
Thanks Par Andersson for reporting the issue.
This commit is contained in:
parent
edeec1247e
commit
d94d7b113c
2 changed files with 14 additions and 6 deletions
|
@ -1706,8 +1706,9 @@ them::
|
|||
<QuerySet [<Person: ...)>, ...]>
|
||||
|
||||
Currently, the ``postgresql``, ``oracle``, and ``mysql`` database
|
||||
backends support ``select_for_update()``. However, MySQL doesn't support the
|
||||
``nowait``, ``skip_locked``, and ``of`` arguments.
|
||||
backends support ``select_for_update()``. However, MariaDB 10.3+ supports only
|
||||
the ``nowait`` argument and MySQL 8.0.1+ supports the ``nowait`` and
|
||||
``skip_locked`` arguments. MySQL and MariaDB don't support the ``of`` argument.
|
||||
|
||||
Passing ``nowait=True``, ``skip_locked=True``, or ``of`` to
|
||||
``select_for_update()`` using database backends that do not support these
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue