Module: ActiveEnquo::Postgres::ConnectionAdapter

Defined in:
lib/active_enquo.rb

Instance Method Summary collapse

Instance Method Details

#initialize_type_map(m = type_map) ⇒ Object



252
253
254
255
256
257
258
259
# File 'lib/active_enquo.rb', line 252

def initialize_type_map(m = type_map)
	m.register_type "enquo_boolean", ActiveEnquo::Type::Boolean.new
	m.register_type "enquo_bigint", ActiveEnquo::Type::Bigint.new
	m.register_type "enquo_date", ActiveEnquo::Type::Date.new
	m.register_type "enquo_text", ActiveEnquo::Type::Text.new

	super
end