django/tests/regressiontests/bulk_create
Anssi Kääriäinen 2326860851 [1.4.x] 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.

Backpatch of 29132ebdef from master (with
documentation changes removed).
2012-09-02 19:17:15 +03:00
..
__init__.py
models.py [1.4.x] Fixed #17788 -- Added batch_size argument to qs.bulk_create() 2012-09-02 19:17:15 +03:00
tests.py [1.4.x] Fixed #17788 -- Added batch_size argument to qs.bulk_create() 2012-09-02 19:17:15 +03:00