We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70295f1 commit c0750dfCopy full SHA for c0750df
lib/arel/visitors/sqlserver.rb
@@ -40,10 +40,10 @@ def visit_Arel_Nodes_UpdateStatement(o, collector)
40
41
# UPDATE with JOIN is in the form of:
42
#
43
- # UPDATE t1 AS __active_record_update_alias
+ # UPDATE t1
44
# SET ..
45
# FROM t1 JOIN t2 ON t2.join_id = t1.join_id ..
46
- # WHERE t1.id = __active_record_update_alias.id AND ..
+ # WHERE ..
47
if has_join_sources?(o)
48
collector = visit o.relation.left, collector
49
collect_nodes_for o.values, collector, " SET "
0 commit comments