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

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#all(query = {}) ⇒ Object



78
79
80
# File 'lib/dm-geokit/resource.rb', line 78

def all(query = {})
  super(prepare_query(query))
end

#count(query = {}) ⇒ Object

Required dm-aggregates to work



87
88
89
# File 'lib/dm-geokit/resource.rb', line 87

def count(query = {})
  super(prepare_query(query))
end

#first(query = {}) ⇒ Object



82
83
84
# File 'lib/dm-geokit/resource.rb', line 82

def first(query = {})
  super(prepare_query(query))
end