interface ConnectionInterface

Minimal connection interface for ZTD layer.

This interface defines the contract that all database adapters must implement to work with the ZTD session. It provides a driver-agnostic API for executing SQL queries.

Methods§

public function query(string $sql): StatementInterface|false

Execute a query and return a statement.

Parameters

$sqlstring

Returns

StatementInterface|false The statement on success, false on failure.
Called from 18

Test cases 186§

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

Other tests reaching this symbol 186

Relations§

Implemented by 3
Method calls 18
Type declarations 17