{"repo":"netzkolchose/django-fast-update","free":true,"listed":false,"github":"https://github.com/netzkolchose/django-fast-update","clone":"git clone https://github.com/netzkolchose/django-fast-update.git","description":"Faster db updates using UPDATE FROM VALUES sql variants.","language":"Python","stars":23,"topics":["database","django","update"],"license":"MIT","category":"databases-storage","readme_excerpt":"django-fast-update ## Faster db updates using UPDATE FROM VALUES sql variants. Installation & Usage ### Run pip install django-fast-update and place fast update in INSTALLED APPS. With attaching FastUpdateManager as a manager to your model, fast update can be used instead of bulk update , e.g.: Alternatively fast.fast update can be used directly with a queryset as first argument (Warning - this skips most sanity checks with up to 30% speed gain, so make sure not to feed something totally off). Compatibility ### fast update is known to work with these database versions: - SQLite 3.15+ - PostgreSQL - MariaDB 10.2+ - MySQL 5.7+ For unsupported database backends or outdated versions fast update will fall back to flat update . (It is possible to register fast update implementations for other db vendors with register implementation . See fast update/fast.py for more details.) Note that with fast update f-expressions cannot be used anymore. This is a design decision to not penalize update performance by some swiss-army-knife functionality. If you have f-expressions in your update data, consider re-grouping the update steps and update those fields with update or bulk update instead. Other than with bulk update duplicates in a changeset are not allowed and will raise. This is mainly a safety guard to not let slip through duplicates, where the final update state would be undetermined or directly depend on the database's compatibility. By default flat update will execute another SELECT ","default_branch":null,"files":null,"tree":[],"storefront":"/r/netzkolchose","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/netzkolchose/django-fast-update/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}