mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
[2.2.x] Fixed #30928 -- Clarified MySQL/MariaDB support of QuerySet.select_for_update() options.
Thanks Par Andersson for reporting the issue.
Backport of d94d7b113c
from master
This commit is contained in:
parent
406fb336b7
commit
22466f91dc
2 changed files with 13 additions and 5 deletions
|
@ -1711,7 +1711,8 @@ them::
|
|||
|
||||
Currently, the ``postgresql``, ``oracle``, and ``mysql`` database
|
||||
backends support ``select_for_update()``. However, MySQL doesn't support the
|
||||
``nowait``, ``skip_locked``, and ``of`` arguments.
|
||||
``of`` argument and the ``nowait`` and ``skip_locked`` arguments are supported
|
||||
only on MySQL 8.0.1+.
|
||||
|
||||
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