instance method
length
Ruby on Rails 5.2.8.1
Since v4.2.9Signature
length()
Returns the number of elements in the rows array.
Source
# File activerecord/lib/active_record/result.rb, line 47
def length
@rows.length
end
Defined in activerecord/lib/active_record/result.rb line 47
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Result