method

select_for_count

select_for_count()
private

No documentation available.

# File activerecord/lib/active_record/relation/calculations.rb, line 359
    def select_for_count
      if select_values.present?
        return select_values.first if select_values.one?
        select_values.join(", ")
      else
        :all
      end
    end