Class: ROM::SQL::Postgres::TypeSerializer Private
- Inherits:
-
TypeSerializer
- Object
- TypeSerializer
- ROM::SQL::Postgres::TypeSerializer
- Defined in:
- lib/rom/sql/extensions/postgres/type_serializer.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #call(type) ⇒ Object private
Methods inherited from TypeSerializer
Instance Method Details
#call(type) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
37 38 39 40 41 42 43 |
# File 'lib/rom/sql/extensions/postgres/type_serializer.rb', line 37 def call(type) super do if type.respond_to?(:primitive) && type.primitive.equal?(Array) "#{ type.[:type] }[]" end end end |