Fixed #29968 -- Doc'd that QuerySet.bulk_update() doesn't check for duplicates.
This commit is contained in:
parent
bc05547cd8
commit
52d06d3041
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue