#17788: bulk_create() "too many SQL variables" error
----------------------------------------------+------------------------
Reporter: alpar | Owner: nobody
Type: Bug | Status: new
Component: Database layer (models, ORM) | Version: 1.4-beta-1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------------------+------------------------
I tried to `bulk_create()` lots of (e.g. >300) objects with Django 1.4b1 +
sqlite backend. It fails with
{{{
django.db.utils.DatabaseError: too many SQL variables
}}}
It makes the use of `bulk_create()` quite risky.
Wouldn't is be possible the automatically break up the list of objects to
smaller pieces when it turns out to be too large?
--
Ticket URL: <https://code.djangoproject.com/ticket/17788>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
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 this group at
http://groups.google.com/group/django-updates?hl=en.