Skip to content

Commit 32632b9

Browse files
committed
Support common table expressions
Fixes ActiveRecord::WithTest#test_common_table_expressions_are_unsupported
1 parent 867dbc4 commit 32632b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/active_record/connection_adapters/sqlserver_adapter.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@ def supports_optimizer_hints?
188188
true
189189
end
190190

191+
def supports_common_table_expressions?
192+
true
193+
end
194+
191195
def supports_lazy_transactions?
192196
true
193197
end

0 commit comments

Comments
 (0)