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 b10e2b2 commit 58df95aCopy full SHA for 58df95a
lib/arel/visitors/sqlserver.rb
@@ -158,6 +158,30 @@ def visit_Make_Fetch_Happen o, collector
158
collector
159
end
160
161
+ def collect_in_clause(left, right, collector)
162
+
163
+ # binding.pry if $debugger
164
+ #
165
+ # if $debugger
166
+ # binding.pry
167
168
+ # right.first.orders = []
169
+ # $debugger = nil
170
+ # end
171
172
173
+ if Array === right
174
+ right.each do |node|
175
176
+ if Arel::Nodes::SelectStatement === node
177
+ node.orders = []
178
+ end
179
180
181
182
+ super
183
184
185
# SQLServer Helpers
186
187
def node_value(node)
0 commit comments