classMysqliResultProcessor
final class MysqliResultProcessor
Translates a native result into the session's simulated result.
Methods§
public function process(
Session $session,
RewritePlan $plan,
mysqli_result|false $result,
int|string $affectedRows,
): ExecuteResultPreserve the session result and translate its database exception for MySQLi callers.
Parameters
$session | Session | |
$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
- method-call Session::createEmptyWriteResult() line 28
- method-call Session::processExecutedStatement() line 32
- new MysqliResultStatement line 32
- new ZtdMysqliException line 34
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
MysqliCteShadowingTestcallsMysqliForeignKeyCascadeTestcallsMysqliFullTextSearchTestcallsMysqliLoadDataTestcallsMysqliSessionFactoryInjectionTestcallsConnectionExecutionTestcallsStatementExecutionTestcallsZtdMysqliStatementTestcallsZtdMysqliTestcalls