| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2012-09-02 | [1.4.x] Fixed #17788 -- Added batch_size argument to qs.bulk_create() | Anssi Kääriäinen | |
| 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 29132ebdef0e0b9c09e456b05f0e6a22f1106a4f from master (with documentation changes removed). | |||
| 2011-09-09 | Fixed #7596. Added Model.objects.bulk_create, and make use of it in several ↵ | Alex Gaynor | |
| places. This provides a performance benefit when inserting multiple objects. THanks to Russ for the review, and Simon Meers for the MySQl implementation. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16739 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
