method
select_aggregate
rails latest stable - Class:
ActiveRecord::Calculations::ClassMethods
select_aggregate(operation, column_name, options)private
No documentation available.
# File activerecord/lib/active_record/calculations.rb, line 200
def select_aggregate(operation, column_name, options)
"#{operation}(#{'DISTINCT ' if options[:distinct]}#{column_name})"
end