class ROM::SQL::Postgres::TypeSerializer

@api private

Public Instance Methods

call(type) click to toggle source
Calls superclass method ROM::SQL::TypeSerializer#call
# File lib/rom/sql/extensions/postgres/type_serializer.rb, line 36
def call(type)
  super do
    if type.respond_to?(:primitive) && type.primitive.equal?(Array)
      "#{ type.meta[:type] }[]"
    end
  end
end