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.
- #first(query = {}) ⇒ Object
Instance Method Details
#all(query = {}) ⇒ Object
73 74 75 |
# File 'lib/dm-geokit/resource.rb', line 73 def all(query = {}) super(prepare_query(query)) end |
#count(query = {}) ⇒ Object
Required dm-aggregates to work
82 83 84 |
# File 'lib/dm-geokit/resource.rb', line 82 def count(query = {}) super(prepare_query(query)) end |
#first(query = {}) ⇒ Object
77 78 79 |
# File 'lib/dm-geokit/resource.rb', line 77 def first(query = {}) super(prepare_query(query)) end |