Class: OsmImport::Mapper::Id
- Inherits:
-
Base
- Object
- Struct
- Base
- OsmImport::Mapper::Id
show all
- Defined in:
- lib/osm_import/mapper.rb
Instance Attribute Summary
Attributes inherited from Base
#name
Instance Method Summary
collapse
Methods inherited from Base
#after_create, #after_import, #indexes
Instance Method Details
#assigns ⇒ Object
42
43
44
|
# File 'lib/osm_import/mapper.rb', line 42
def assigns
{ name => "(src.tags->'#{name}')::INT8" }
end
|
#fields ⇒ Object
38
39
40
|
# File 'lib/osm_import/mapper.rb', line 38
def fields
{ name => "INT8" }
end
|