fopina / django-bulk-update-or-create

`bulk_update_or_create` for Django model managers
MIT License
148 stars 16 forks source link

allow empty objs for bulk_update_or_create #14

Closed fopina closed 3 years ago

fopina commented 3 years ago

bulk_update allows empty objs without raising any error. bulk_update_or_create should too

PR for #10

codecov-commenter commented 3 years ago

Codecov Report

Merging #14 (07c71ad) into master (724bdc4) will decrease coverage by 1.23%. The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   98.70%   97.46%   -1.24%     
==========================================
  Files           3        3              
  Lines          77       79       +2     
==========================================
+ Hits           76       77       +1     
- Misses          1        2       +1     
Impacted Files Coverage Δ
bulk_update_or_create/query.py 97.29% <75.00%> (-1.32%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 724bdc4...07c71ad. Read the comment docs.