summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTimothy McCurrach <tim.mccurrach@gmail.com>2021-01-27 11:25:31 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-28 07:54:03 +0100
commit241da3f06ee0c6f436341cda5890b221ac453e3b (patch)
treeffa9c999d0604b78d5adf9f30885747614144802 /docs
parent54102d20b272e4c5c10effae761c519fb899da60 (diff)
Fixed #32388 -- Clarified QuerySet.bulk_update() caveat about duplicates for multiple batches.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/querysets.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index d09089a55e..e60e7de753 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -2241,7 +2241,8 @@ 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.
+* When an individual batch contains duplicates, only the first instance in that
+ batch will result in an update.
The ``batch_size`` parameter controls how many objects are saved in a single
query. The default is to update all objects in one batch, except for SQLite