Document that bulk update is available in Django 2.2
See original GitHub issueHello @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!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:14
- Comments:11
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
@orf @Ehco1996 Django 2.2 is now released, and docs are no longer draft:
https://docs.djangoproject.com/en/2.2/ref/models/querysets/#django.db.models.query.QuerySet.bulk_update