mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Clarified docs on bulk_create return value
This commit is contained in:
parent
47033bfd48
commit
f303a0f521
@ -2416,7 +2416,8 @@ exists in the database, an :exc:`~django.db.IntegrityError` is raised.
|
||||
|
||||
This method inserts the provided list of objects into the database in an
|
||||
efficient manner (generally only 1 query, no matter how many objects there
|
||||
are), and returns created objects as a list, in the same order as provided:
|
||||
are), and returns all provided objects as a list in the same order.
|
||||
If ``ignore_conflics`` is set, the conflicted objects will be included as well.
|
||||
|
||||
.. code-block:: pycon
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user