Module: DataMapper::GeoKit::InstanceMethods::SingletonMethods
- Defined in:
- lib/dm-geokit/resource.rb
Overview
:nodoc:
Instance Method Summary collapse
- #all(query = {}) ⇒ Object
-
#count(query = {}) ⇒ Object
Required dm-aggregates to work.
Instance Method Details
#all(query = {}) ⇒ Object
59 60 61 |
# File 'lib/dm-geokit/resource.rb', line 59 def all(query = {}) super(prepare_query(query)) end |
#count(query = {}) ⇒ Object
Required dm-aggregates to work
64 65 66 |
# File 'lib/dm-geokit/resource.rb', line 64 def count(query = {}) super(prepare_query(query)) end |