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 7b66df0 commit e3aba95Copy full SHA for e3aba95
test/cases/coerced_tests.rb
@@ -520,6 +520,9 @@ def test_distinct_count_all_with_custom_select_and_order_coerced
520
521
# SELECT columns must be in the GROUP clause. Since since `ids` only selects the primary key you cannot perform this query in SQL Server.
522
coerce_tests! :test_ids_with_includes_and_non_primary_key_order
523
+
524
+ # To limit the results in SQL Server we use `FETCH NEXT @0 ROWS ONLY` instead of `LIMIT @0`. To use `FETCH NEXT` an order must be provided.
525
+ coerce_tests! :test_no_order_by_when_counting_all
526
end
527
528
module ActiveRecord
0 commit comments