django/tests/regressiontests/bulk_create
Anssi Kääriäinen 29132ebdef Fixed #17788 -- Added batch_size argument to qs.bulk_create()
The qs.bulk_create() method did not work with large batches together
with SQLite3. This commit adds a way to split the bulk into smaller
batches. The default batch size is unlimited except for SQLite3 where
the batch size is limited to 999 SQL parameters per batch.

Thanks to everybody who participated in the discussions at Trac.
2012-07-17 15:24:41 +03:00
..
__init__.py Fixed #7596. Added Model.objects.bulk_create, and make use of it in several places. This provides a performance benefit when inserting multiple objects. THanks to Russ for the review, and Simon Meers for the MySQl implementation. 2011-09-09 19:22:28 +00:00
models.py Fixed #17788 -- Added batch_size argument to qs.bulk_create() 2012-07-17 15:24:41 +03:00
tests.py Fixed #17788 -- Added batch_size argument to qs.bulk_create() 2012-07-17 15:24:41 +03:00