Skip to content

Commit c0750df

Browse files
committed
Update comment
1 parent 70295f1 commit c0750df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: lib/arel/visitors/sqlserver.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ def visit_Arel_Nodes_UpdateStatement(o, collector)
4040

4141
# UPDATE with JOIN is in the form of:
4242
#
43-
# UPDATE t1 AS __active_record_update_alias
43+
# UPDATE t1
4444
# SET ..
4545
# FROM t1 JOIN t2 ON t2.join_id = t1.join_id ..
46-
# WHERE t1.id = __active_record_update_alias.id AND ..
46+
# WHERE ..
4747
if has_join_sources?(o)
4848
collector = visit o.relation.left, collector
4949
collect_nodes_for o.values, collector, " SET "

0 commit comments

Comments
 (0)