mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Updated docs after changing select_for_update() to raise NotSupportedError.
Follow up to 054a44d6f0.
This commit is contained in:
@@ -1640,8 +1640,8 @@ backends support ``select_for_update()``. However, MySQL doesn't support the
|
||||
``nowait`` and ``skip_locked`` arguments.
|
||||
|
||||
Passing ``nowait=True`` or ``skip_locked=True`` to ``select_for_update()``
|
||||
using database backends that do not support these options, such as MySQL, will
|
||||
cause a :exc:`~django.db.DatabaseError` to be raised. This prevents code from
|
||||
using database backends that do not support these options, such as MySQL,
|
||||
raises a :exc:`~django.db.NotSupportedError`. This prevents code from
|
||||
unexpectedly blocking.
|
||||
|
||||
Evaluating a queryset with ``select_for_update()`` in autocommit mode on
|
||||
|
||||
Reference in New Issue
Block a user