string pq\Connection::quote(string $payload)

Quote a string for safe use in a query. The result is truncated at any zero byte and wrapped in single quotes.

NOTE:
Beware of matching character encodings.

Params:

Returns:

Throws: