method

count

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: InternalMetadata
count() public

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/internal_metadata.rb, line 59
    def count
      sm = Arel::SelectManager.new(arel_table)
      sm.project(*Arel::Nodes::Count.new([Arel.star]))

      connection.select_values(sm, "#{self.class} Count").first
    end
Register or log in to add new notes.