Skip to content

fix(model): V6 unique composite index upsert - #12547

Closed
brianschardt wants to merge 2 commits into
sequelize:v6from
prototype-two:v6-unique-composite-index-upsert
Closed

brianschardt wants to merge 2 commits into
sequelize:v6from
prototype-two:v6-unique-composite-index-upsert

Conversation

@brianschardt

Copy link
Copy Markdown
Contributor

Currently updateOnDuplicate for unique index and indexes do not work. This PR solves this issue.

This is following the conversation in this PR: #12516

@codecov

codecov Bot commented Jul 24, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #12547 into v6 will increase coverage by 3.01%.
The diff coverage is 91.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##               v6   #12547      +/-   ##
==========================================
+ Coverage   93.42%   96.44%   +3.01%     
==========================================
  Files          91       95       +4     
  Lines        8764     9168     +404     
==========================================
+ Hits         8188     8842     +654     
+ Misses        576      326     -250     
Impacted Files Coverage Δ
lib/model.js 96.59% <91.66%> (-0.04%) ⬇️
lib/dialects/sqlite/query.js 98.18% <0.00%> (ø)
lib/dialects/sqlite/connection-manager.js 100.00% <0.00%> (ø)
lib/dialects/sqlite/query-interface.js 97.02% <0.00%> (ø)
lib/dialects/sqlite/index.js 100.00% <0.00%> (ø)
lib/data-types.js 91.37% <0.00%> (+0.34%) ⬆️
lib/dialects/abstract/query-generator.js 97.39% <0.00%> (+0.50%) ⬆️
lib/dialects/abstract/query-interface.js 94.08% <0.00%> (+0.62%) ⬆️
lib/dialects/abstract/query.js 91.98% <0.00%> (+0.96%) ⬆️
lib/sequelize.js 95.87% <0.00%> (+1.26%) ⬆️
... and 4 more

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 ec2af0d...7414c70. Read the comment docs.

@brianschardt

brianschardt commented Jul 24, 2020 •

Copy link
Copy Markdown
Contributor Author

@aecorredor @eseliger can we get this merged in. I am shocked at how such a small change has a long and arduous process. If I can help make things better please let me know.

@aecorredor

Copy link
Copy Markdown
Contributor

I'm not a maintainer so I really don't have much of a say in respect to that.

@aecorredor

Copy link
Copy Markdown
Contributor

@eseliger hey! who would be responsible for getting this approved and merged? Thanks!

@aecorredor

aecorredor commented Aug 10, 2020 •

Copy link
Copy Markdown
Contributor

@eseliger any update on this from maintainers? This should be a pretty important issue as bulk updates are pretty common right?

@aecorredor

Copy link
Copy Markdown
Contributor

@papb sorry to bring you into this out of the blue. Just wondering what would the process be for us to get this in. Thanks!

CC: @brianschardt

@brianschardt

Copy link
Copy Markdown
Contributor Author

@aecorredor @eseliger can we get this merged in? also is this already fixed? This is such a huge update for the sequelize community...

@Jplus2

Jplus2 commented May 9, 2021

Copy link
Copy Markdown

Any update on this?

@papb

papb commented Jun 24, 2021

Copy link
Copy Markdown
Member

Continuing on #13345

@papb papb closed this Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants