Fixed #29968 -- Doc'd that QuerySet.bulk_update() doesn't check for duplicates.

This commit is contained in:
Hasan Ramezani 2019-01-09 23:54:46 +01:00 committed by Tim Graham
parent bc05547cd8
commit 52d06d3041
1 changed files with 1 additions and 0 deletions

View File

@ -2126,6 +2126,7 @@ them, but it has a few caveats:
``batch_size``.
* Updating fields defined on multi-table inheritance ancestors will incur an
extra query per ancestor.
* If ``objs`` contains duplicates, only the first one is updated.
The ``batch_size`` parameter controls how many objects are saved in a single
query. The default is to create all objects in one batch, except for SQLite