1
0
mirror of https://github.com/django/django.git synced 2025-10-09 14:59:24 +00:00

Refs #36143, #28596 -- Avoided mentioning exact query parameter limit in bulk_create() docs.

This commit is contained in:
Jacob Walls 2025-09-25 09:56:24 -04:00
parent 6cb641ba75
commit 0a09c60e97

View File

@ -2445,8 +2445,8 @@ This has a number of caveats though:
Entry.objects.bulk_create(batch, batch_size)
The ``batch_size`` parameter controls how many objects are created in a single
query. The default is to create all objects in one batch, except for SQLite
where the default is such that at most 999 variables per query are used.
query. The default is to create as many objects in one batch as the database
will allow. (SQLite and Oracle limit the number of parameters in a query.)
On databases that support it (all but Oracle), setting the ``ignore_conflicts``
parameter to ``True`` tells the database to ignore failure to insert any rows