mirror of
https://github.com/django/django.git
synced 2025-11-19 19:24:46 +00:00
This commit is contained in:
parent
6cb641ba75
commit
0a09c60e97
1 changed files with 2 additions and 2 deletions
|
|
@ -2445,8 +2445,8 @@ This has a number of caveats though:
|
||||||
Entry.objects.bulk_create(batch, batch_size)
|
Entry.objects.bulk_create(batch, batch_size)
|
||||||
|
|
||||||
The ``batch_size`` parameter controls how many objects are created in a single
|
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
|
query. The default is to create as many objects in one batch as the database
|
||||||
where the default is such that at most 999 variables per query are used.
|
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``
|
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
|
parameter to ``True`` tells the database to ignore failure to insert any rows
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue