--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Connection instance method for versions of 8.1 and higher of libpq uses PQescapeStringConn, which is safer. Avoid calling as a class method, the class method uses the deprecated PQescapeString() API function.
- !ruby/struct:SM::Flow::P 
  body: Returns a SQL-safe version of the String <em>str</em>. This is the preferred way to make strings safe for inclusion in SQL queries.
- !ruby/struct:SM::Flow::P 
  body: Consider using exec_params, which avoids the need for passing values inside of SQL commands.
full_name: PGconn::escape_string
is_singleton: true
name: escape_string
params: |
  conn.escape_string( str ) -> String
  PGconn.escape_string( str ) -> String  # DEPRECATED

visibility: public
