Sha256: 63258f7fa8ec8ec5fd9230ac5ae8d25666706d612162634d1d769be19bba038e

Contents?: true

Size: 334 Bytes

Versions: 127

Compression:

Stored size: 334 Bytes

Contents

# -*- ruby -*-
# frozen_string_literal: true

require 'pg' unless defined?( PG )

class PG::TypeMapByColumn
	# Returns the type oids of the assigned coders.
	def oids
		coders.map{|c| c.oid if c }
	end

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

Version data entries

127 entries across 127 versions & 4 rubygems

Version Path
pg-1.5.9-x86-mingw32 lib/pg/type_map_by_column.rb
pg-1.5.9-x64-mingw32 lib/pg/type_map_by_column.rb
pg-1.5.9-x64-mingw-ucrt lib/pg/type_map_by_column.rb
pg-1.5.9 lib/pg/type_map_by_column.rb
pg-1.5.8-x64-mingw32 lib/pg/type_map_by_column.rb
pg-1.5.8-x64-mingw-ucrt lib/pg/type_map_by_column.rb
pg-1.5.8-x86-mingw32 lib/pg/type_map_by_column.rb
pg-1.5.8 lib/pg/type_map_by_column.rb
pg-1.5.7-x86-mingw32 lib/pg/type_map_by_column.rb
pg-1.5.7-x64-mingw32 lib/pg/type_map_by_column.rb
pg-1.5.7-x64-mingw-ucrt lib/pg/type_map_by_column.rb
pg-1.5.7 lib/pg/type_map_by_column.rb
pg-1.5.6-x64-mingw-ucrt lib/pg/type_map_by_column.rb
pg-1.5.6-x64-mingw32 lib/pg/type_map_by_column.rb
pg-1.5.6-x86-mingw32 lib/pg/type_map_by_column.rb
pg-1.5.6 lib/pg/type_map_by_column.rb
pg-1.5.5-x86-mingw32 lib/pg/type_map_by_column.rb
pg-1.5.5-x64-mingw32 lib/pg/type_map_by_column.rb
pg-1.5.5-x64-mingw-ucrt lib/pg/type_map_by_column.rb
pg-1.5.5 lib/pg/type_map_by_column.rb