final class PgSqlPdoParameterBindingCompiler
    implements ParameterBindingCompiler

Pdo parameter binding compiler for PostgreSQL queries.

Methods§

public function __construct(private PgSqlPdoPlaceholderEscaper $placeholderEscaper = new \ZtdQuery\Platform\Postgres\Connection\Parameter\PgSqlPdoPlaceholderEscaper…)

Initializes the collaborators and state used by this pdo parameter binding compiler.

Parameters

$placeholderEscaperPgSqlPdoPlaceholderEscaper
Calls 1
public function compile(string $sql, ?array $params): array

Binds PDO placeholders using the PostgreSQL lexical rules.

Parameters

$sqlstring
$params?array

Returns

array
Test cases 2
Calls 11

Private surface 1§

Implementation details, listed for orientation only.

private PgSqlPdoPlaceholderEscaper $placeholderEscaper = new \ZtdQuery\Platform\Postgres\Connection\Parameter\PgSqlPdoPlaceholderEscaper…

Test cases 3§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2
Other tests reaching this symbol 1

Relations§

Instantiated in 1