1
0
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:
Jozef Knaperek 2023-06-07 13:33:17 +02:00
parent 47033bfd48
commit f303a0f521
No known key found for this signature in database
GPG Key ID: F8E6A46E811FA2D8

View File

@ -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 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 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 .. code-block:: pycon