module MicroSql::PgAdapter::Conversion
Public Instance Methods
bytea(s)
click to toggle source
# File lib/micro_sql/pg_adapter.rb, line 147 def bytea(s); PG::Connection.unescape_bytea(s); end
integer(s)
click to toggle source
# File lib/micro_sql/pg_adapter.rb, line 146 def integer(s); s.to_i; end
nop()
click to toggle source
# File lib/micro_sql/pg_adapter.rb, line 142 def nop; end
string(s)
click to toggle source
# File lib/micro_sql/pg_adapter.rb, line 144 def string(s); s; end
unknown(s)
click to toggle source
# File lib/micro_sql/pg_adapter.rb, line 145 def unknown(s); s; end