class Jennifer::Model::NumericToFloat64Converter
- Jennifer::Model::NumericToFloat64Converter
- Reference
- Object
Overview
Type converter for Postgre numeric field.
Converts PG::Numeric
to Float64
and back.
class Order < Jennifer::Model::Base
mapping(
id: Primary32,
total: {type: Float64?, converter: Jennifer::Model::NumericToFloat64Converter}
)
end