method
distinct_select?
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::Calculations
distinct_select?(column_name)private
No documentation available.
# File activerecord/lib/active_record/relation/calculations.rb, line 465
def distinct_select?(column_name)
column_name.is_a?(::String) && /\bDISTINCT[\s(]/.match?(column_name)
end