classMysqliResultProcessor
final class MysqliResultProcessor
Translates a native result into the session's simulated result.
Methods§
public function process(
QueryExecutor $executor,
RewritePlan $plan,
mysqli_result|false $result,
int|string $affectedRows,
): ExecuteResultPreserve the session result and translate its database exception for MySQLi callers.
Parameters
$executor | QueryExecutor | |
$plan | RewritePlan | |
$result | mysqli_result|false | |
$affectedRows | int|string |
Returns
Throws
ZtdMysqliException When the session cannot process the result.Test cases 3
Called from 1
Calls 4
Test cases 12§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 3
Other tests reaching this symbol 9
MysqliCteShadowingTestcallsMysqliForeignKeyCascadeTestcallsMysqliFullTextSearchTestcallsMysqliLoadDataTestcallsMysqliPlatformInjectionTestcallsConnectionExecutionTestcallsStatementExecutionTestcallsZtdMysqliStatementTestcallsZtdMysqliTestcalls