Method Sql.pgsql()->quotebinary()


Method quotebinary

final string quotebinary(string s)

Returns

The given string, but escapes/quotes all contained magic characters for binary (bytea) arguments in textual SQL-queries.

Note

Quoting must not be done for parameters passed in bindings.

See also

big_query(), quote()

Note

This function is PostgreSQL-specific.