Method Sql.pgsql()->quote()


Method quote

final string quote(string s)

Returns

The given string, but escapes/quotes all contained magic characters according to the quoting rules of the current session for non-binary arguments in textual SQL-queries.

Note

Quoting must not be done for parameters passed in bindings.

See also

big_query(), quotebinary(), create()