class PgFuncall::AR42TypeMap

Public Instance Methods

lookup_ar_by_name(name) click to toggle source
# File lib/pg_funcall/type_map.rb, line 185
def lookup_ar_by_name(name)
  @ar_connection.instance_variable_get("@type_map").lookup(name)
end
lookup_ar_by_oid(oid) click to toggle source
# File lib/pg_funcall/type_map.rb, line 189
def lookup_ar_by_oid(oid)
  @ar_connection.instance_variable_get("@type_map").lookup(oid)
end
type_cast_from_database(value, type) click to toggle source
# File lib/pg_funcall/type_map.rb, line 193
def type_cast_from_database(value, type)
  type.ar_type.type_cast_from_database(value)
end