Class: PG::TypeMapByColumn

Inherits:
Object show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/pg-1.4.5/lib/pg/type_map_by_column.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



12
13
14
15
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/pg-1.4.5/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/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/pg-1.4.5/lib/pg/type_map_by_column.rb', line 8

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