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
Rails 6 introduced upsert_all and the SQL Server adapter does not implement it yet.
upsert_all
There's no such thing as MySQL's ON DUPLICATE KEY UPDATE in SQL Server, but we could possibly use the MERGE clause to achieve the same result.
ON DUPLICATE KEY UPDATE
MERGE
upsert_all and insert_all could possibly be implemented using MERGE.
insert_all
upsert_all and insert_all are not implemented.
The text was updated successfully, but these errors were encountered:
@wpolicarpo I created PR #869 to explore this possibility. I found some issues.
Sorry, something went wrong.
No branches or pull requests
Issue
Rails 6 introduced
upsert_all
and the SQL Server adapter does not implement it yet.There's no such thing as MySQL's
ON DUPLICATE KEY UPDATE
in SQL Server, but we could possibly use theMERGE
clause to achieve the same result.Expected behavior
upsert_all
andinsert_all
could possibly be implemented usingMERGE
.Actual behavior
upsert_all
andinsert_all
are not implemented.The text was updated successfully, but these errors were encountered: