Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: when using OnConflict for batch insertion, the returned ID is incorrect #737

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jpbirdy
Copy link

@jpbirdy jpbirdy commented May 18, 2024

The bug here is that when using OnConflict{UpdateAll: true} for batch insertion, if there is an update, the returned ID is incorrect

@jpbirdy
Copy link
Author

jpbirdy commented May 18, 2024

Because gorm.io/gen has been upgraded to v0.3.26, when executing go get -u -t ./..., gorm.io/gen will be updated, which will cause an error:
gorm.io/gen/examples/dal: cannot find module providing package gorm.io/gen/examples/dal

The test script can run and report errors in v0.3.25

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.

None yet

1 participant