select_for_count() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation/calculations.rb, line 639
      def select_for_count
        if select_values.empty?
          :all
        else
          with_connection do |conn|
            arel_columns(select_values).map { |column| conn.visitor.compile(column) }.join(", ")
          end
        end
      end
Register or log in to add new notes.