Module: DataMapper::GeoKit::InstanceMethods::SingletonMethods

Defined in:
lib/dm-geokit/resource.rb

Overview

:nodoc:

Instance Method Summary collapse

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