You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The adapter doesn't support upsert as Microsoft SQL Server doesn't natively support it either. There were investigations in #859 to see if upsert could be supported using MERGE but they have been unsuccessful.
Issue
Trying to use an upsert operation on my model, but it's showing an error telling this adapter has no implementation for that.
Expected behavior
Upsert operation working with no exceptions.
Actual behavior
Throwing an exception:
ActiveRecord::ConnectionAdapters::SQLServerAdapter does not support upsert
raise ArgumentError, "#{connection.class} does not support upsert"
How to reproduce
Simply calling
Details
7.0.4.3
7.0.1.0
2.1.5
SQL SERVER 16.0.4003.1 - Developer Edition
The text was updated successfully, but these errors were encountered: