final class MysqliResultStatement
    implements StatementInterface

mysqli result adapter implementing StatementInterface for ZTD layer.

This class wraps a mysqli_result from query() and provides the minimal interface required by the ZTD session for fetching results.

Methods§

public function __construct(?mysqli_result $result, int|string $affectedRows)

Wrap an executed result and normalize its affected row count.

Parameters

$result?mysqli_result
$affectedRowsint|string
Calls 1
public function execute(?array $params = null): bool

{@inheritDoc}

This is a no-op for result statements from query() as they're already executed.

Parameters

$params?array

Returns

bool
Test cases 1
public function fetchAll(): array

Private surface 2§

Implementation details, listed for orientation only.

private ?mysqli_result $result
private int $affectedRows

Test cases 16§

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

Dedicated tests 4
Other tests reaching this symbol 12

Relations§

Instantiated in 3