Class: DataMapper::Collection
- Inherits:
-
Object
- Object
- DataMapper::Collection
- Defined in:
- lib/collection.rb
Instance Method Summary collapse
Instance Method Details
#count ⇒ Object
3 4 5 6 |
# File 'lib/collection.rb', line 3 def count adapter = repository.adapter adapter.read_count query end |