mirror of
https://github.com/django/django.git
synced 2025-12-11 03:43:00 +00:00
Updated typo
This commit is contained in:
parent
68560ff2c5
commit
3f674121b1
1 changed files with 1 additions and 1 deletions
|
|
@ -2495,7 +2495,7 @@ updated:
|
||||||
>>> Entry.objects.bulk_update(objs, ["headline"])
|
>>> Entry.objects.bulk_update(objs, ["headline"])
|
||||||
2
|
2
|
||||||
|
|
||||||
This method is atomic, i.e., all batches of creation succeed or none.
|
This method is atomic, i.e., all batches of updates succeed or none.
|
||||||
:meth:`.QuerySet.update` is used to save the changes, so this is more efficient
|
:meth:`.QuerySet.update` is used to save the changes, so this is more efficient
|
||||||
than iterating through the list of models and calling ``save()`` on each of
|
than iterating through the list of models and calling ``save()`` on each of
|
||||||
them, but it has a few caveats:
|
them, but it has a few caveats:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue