Module: DataMapper::PostGIS::ClassMethods

Defined in:
lib/dm-postgis.rb

Instance Method Summary collapse

Instance Method Details

#type_mapObject



19
20
21
22
23
# File 'lib/dm-postgis.rb', line 19

def type_map
  super.merge(
              DataMapper::Property::PostGISGeometry => { :primitive => 'GEOMETRY' }
              ).freeze
end