question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document that bulk update is available in Django 2.2

See original GitHub issue

Hello @aykut! Thank you for this library and your work on it!

I just wanted to let you know that coming in Django 2.2 there will be a bulk_update() function available on any Model (just like bulk_create) that uses the same method as this library (and is heavily inspired by it!) 🎉 🎉

Would documenting this be possible? We could perhaps add a fallback to the built-in bulk_create if we are running in Django 2.2, to ease upgrading? We are also looking at adding support for specialized db-specific SQL to Django to speed this up, I’d love any input you may have!

Here are the docs for the new method

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:14
  • Comments:11

github_iconTop GitHub Comments

1reaction
orfcommented, Jan 23, 2020

I’d like to really thank you for creating a reproduction repository @mikicz, it’s increadibly helpful and I wish everyones reproductions where as detailed as this!

I’ve created a ticket on the Django bugtracker (https://code.djangoproject.com/ticket/31202) and assigned it to myself. I’m somewhat busy right now but I promise that I will spend some time and see if I can dig more into this. I’ll update the ticket rather than this issue.

Thanks again for creating this test case.

1reaction
ses4jcommented, Apr 1, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Using bulk update in Django 2.2 - Tom Forbes
My work on adding bulk_update() to Django has been merged and will be released in Django 2.2! Like my filtered aggregates feature it...
Read more >
How to 'bulk update' with Django? - Stack Overflow
Django 2.2 version now has a bulk_update. Old answer: Refer to the following django documentation section. Updating multiple objects at once. In ...
Read more >
django-bulk-update - PyPI
Simple bulk update over Django ORM or with helper function. This project aims to bulk update given objects using **one query** over **Django...
Read more >
Common Issues — django-simple-history 2.2.0 documentation
Bulk Creating and Queryset Updating¶ ... Django Simple History functions by saving history using a post_save signal every time that an object with...
Read more >
[Solved]-How to 'bulk update' with Django? - appsloveworld.com
Django 2.2 version now has a bulk_update. Old answer: Refer to the following django documentation section. Updating multiple objects at once. In short...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found