Method: Mongoid::Findable#estimated_count
- Defined in:
- lib/mongoid/findable.rb
#estimated_count ⇒ Integer
Returns an estimated count of records in the database.
84 85 86 |
# File 'lib/mongoid/findable.rb', line 84 def estimated_count with_default_scope.estimated_count end |