Module: Imparcial::Driver::PostgreUtil
- Included in:
- PostgreAdapter
- Defined in:
- lib/imparcial/driver/postgre/util.rb
Instance Method Summary collapse
Instance Method Details
#quote(val) ⇒ Object
11 12 13 14 15 |
# File 'lib/imparcial/driver/postgre/util.rb', line 11 def quote ( val ) "\"#{val}\"" end |
#quote_value(val) ⇒ Object
5 6 7 8 9 |
# File 'lib/imparcial/driver/postgre/util.rb', line 5 def quote_value ( val ) conn.class.quote val end |