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 2

Test cases 7§

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

Other tests reaching this symbol 7

Relations§

Implemented by 1
Method calls 2
Type declarations 3