Class: Torque::PostgreSQL::Adapter::OID::Box
- Inherits:
-
GeometryBuilder
- Object
- ActiveModel::Type::Value
- GeometryBuilder
- Torque::PostgreSQL::Adapter::OID::Box
- Defined in:
- lib/torque/postgresql/adapter/oid/box.rb
Constant Summary collapse
- PIECES =
%i[x1 y1 x2 y2].freeze
- FORMATION =
'((%s,%s),(%s,%s))'.freeze
Constants inherited from GeometryBuilder
GeometryBuilder::DESTRUCTOR, GeometryBuilder::NUMBER_SERIALIZER
Method Summary
Methods inherited from GeometryBuilder
#cast, #changed_in_place?, #deserialize, #formation, #pieces, #serialize, #type, #type_cast_for_schema