pg_escape_literal
Supported Versions: PHP 5 >= 5.4.4, PHP 7, PHP 8
Escape a literal for insertion into a text field
<?php pg_escape_literal
(
PgSql\Connection $connection
= ?,
string $data
):
string