diff options
| author | kola-er <kola.erinoso@gmail.com> | 2019-11-04 22:44:10 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-11-05 14:56:45 +0100 |
| commit | 22466f91dccf440fa8b0aff3610ed51dbb25403b (patch) | |
| tree | 24fb6e7c8fbc45ed3f8685e59a2fb008593593d6 /docs/ref/models | |
| parent | 406fb336b75663a0131251f9414d8cf5cc43e09b (diff) | |
[2.2.x] Fixed #30928 -- Clarified MySQL/MariaDB support of QuerySet.select_for_update() options.
Thanks Par Andersson for reporting the issue.
Backport of d94d7b113c21d7a0fd802fadb1adbbec8155e880 from master
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/querysets.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 7880d0eed7..3ccd5958fd 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -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 |
