Class: YugabyteYSQL::TypeMapByColumn

Inherits:
Object
  • Object
show all
Defined in:
lib/pg/type_map_by_column.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



12
13
14
15
# File 'lib/pg/type_map_by_column.rb', line 12

def inspect
  type_strings = coders.map{|c| c ? c.inspect_short : 'nil' }
  "#<#{self.class} #{type_strings.join(' ')}>"
end

#oidsObject

Returns the type oids of the assigned coders.



8
9
10
# File 'lib/pg/type_map_by_column.rb', line 8

def oids
  coders.map{|c| c.oid if c }
end