Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 29132ebdef0e0b9c09e456b05f0e6a22f1106a4f
https://github.com/django/django/commit/29132ebdef0e0b9c09e456b05f0e6a22f1106a4f
Author: Anssi Kääriäinen <[email protected]>
Date: 2012-07-17 (Tue, 17 Jul 2012)
Changed paths:
M django/db/backends/__init__.py
M django/db/backends/sqlite3/base.py
M django/db/models/query.py
M docs/ref/models/querysets.txt
M docs/releases/1.5.txt
M tests/regressiontests/bulk_create/models.py
M tests/regressiontests/bulk_create/tests.py
M tests/regressiontests/queries/tests.py
Log Message:
-----------
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.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.