Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bulk_create #62

Open
jonathan-zageno opened this issue Aug 21, 2017 · 0 comments
Open

bulk_create #62

jonathan-zageno opened this issue Aug 21, 2017 · 0 comments

Comments

@jonathan-zageno
Copy link

I'm looking at how django implemented the bulk_create option. The main logic from that exists here: https://github.com/django/django/blob/master/django/db/models/query.py#L1049-L1069 From what I understand the bulk_create will be making many N queries to the database. So they are using a rather naive approach from my understanding.

Whereas django-bulk-update is just making a single query with all updates. I'm bringing this up because it seems like it would be ideal to be using bulk_create to make bulk_update or create in #49 per comment there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant