Skip to content

Update "bulk_create_and_fetch" helper - #13068

Merged
SchrodingersGat merged 3 commits into
inventree:masterfrom
SchrodingersGat:bulk-create-refactor
Oct 22, 2026
Merged

SchrodingersGat merged 3 commits into
inventree:masterfrom
SchrodingersGat:bulk-create-refactor

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

Use bulk_create if DB backend supports returning.

On postgres backends this will reduce bulk create overheads

Use bulk_create if DB backend supports returning
@SchrodingersGat SchrodingersGat added this to the 1.7.0 milestone Oct 22, 2026
@netlify

netlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit e9fc500
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6ada7e6f26e12e3e56492de8

@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.14%. Comparing base (b9793b0) to head (e9fc500).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #13068      +/-   ##
==========================================
- Coverage   87.15%   87.14%   -0.02%     
==========================================
  Files        1533     1533              
  Lines      106210   106265      +55     
  Branches    11890    11889       -1     
==========================================
+ Hits        92572    92600      +28     
- Misses      13571    13598      +27     
  Partials       67       67              
Flag Coverage Δ
backend 92.14% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 92.42% <ø> (ø)
Backend General 94.50% <ø> (ø)
Frontend 79.37% <ø> (-0.08%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@matmair

matmair commented Oct 22, 2026

Copy link
Copy Markdown
Member

interesting approach

@SchrodingersGat
SchrodingersGat merged commit 3c644dd into inventree:master Oct 22, 2026
48 checks passed
@SchrodingersGat
SchrodingersGat deleted the bulk-create-refactor branch October 22, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants