interface SqlPlaceholderEscaper

Writes a statement so a driver reads no placeholder that was not meant.

A rewritten statement carries values inline that the original carried as parameters, and text among them may look to the driver like a placeholder of its own.

Methods§

public function escape(string $sql): string

Escape.

Parameters

$sqlstring

Returns

string

Test cases 1§

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

Other tests reaching this symbol 1

Relations§

Implemented by 1