aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/finder_methods.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2015-11-11 23:05:44 +0900
committerRyuta Kamizono <kamipo@gmail.com>2015-12-23 22:47:44 +0900
commitd0be40cad168aae558eeb6a9b12acd8d113e3fc9 (patch)
tree305e28e84cb46b6b8993b317ad3b2dc77d13bca4 /activerecord/lib/active_record/relation/finder_methods.rb
parent9c5732d23447a2880dafc7f80254b1c9e42863f8 (diff)
downloadrails-d0be40cad168aae558eeb6a9b12acd8d113e3fc9.tar.gz
rails-d0be40cad168aae558eeb6a9b12acd8d113e3fc9.tar.bz2
rails-d0be40cad168aae558eeb6a9b12acd8d113e3fc9.zip
Add `columns_for_distinct` for MySQL 5.7 with ONLY_FULL_GROUP_BY
In MySQL 5.7.5 and up, ONLY_FULL_GROUP_BY affects handling of queries that use DISTINCT and ORDER BY. It requires the ORDER BY columns in the select list for distinct queries, and requires that the ORDER BY include the distinct column. See https://dev.mysql.com/doc/refman/5.7/en/group-by-handling.html
Diffstat (limited to 'activerecord/lib/active_record/relation/finder_methods.rb')
0 files changed, 0 insertions, 0 deletions