We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Resources with composite PKs can't be deleted using RW.Delete(...) since the SQL generated is incorrect. See: go-gorm/gorm#4879
RW.Delete(...)
To Reproduce
In delete_test.go/TestDb_Delete(...) remove conditional in multi-column test that skips sqlite dialects and the test will fail.
multi-column
Additional context
Once go-gorm/gorm#4879 is fixed, we can update the gorm dependency and enable the multi-column delete test for sqlite
The text was updated successfully, but these errors were encountered:
The current work around is to use Exec(...) to delete composite PK resources.
Exec(...)
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Resources with composite PKs can't be deleted using
RW.Delete(...)
since the SQL generated is incorrect. See: go-gorm/gorm#4879To Reproduce
In delete_test.go/TestDb_Delete(...) remove conditional in
multi-column
test that skips sqlite dialects and the test will fail.Additional context
Once go-gorm/gorm#4879 is fixed, we can update the gorm dependency and enable the
multi-column
delete test for sqliteThe text was updated successfully, but these errors were encountered: