interfaceSqlPlaceholderEscaper
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): stringEscape.
Parameters
$sql | string |
Returns
stringTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.