Alpha ZealPHP is early-stage and under active development. APIs may change between minor versions until v1.0. Feedback and bug reports welcome on GitHub.
API Index — Namespaces, Packages, Reports, Indices

Db

Table of Contents

Interfaces

PoolDriver
Connection-library adapter for {@see DbConnectionPool}.

Classes

DbConnectionPool
Per-worker pool of database connections — the DB counterpart to {@see \ZealPHP\Store\RedisConnectionPool}.
DbException
Thrown by the DB layer — pool acquire timeouts, exhausted retries, and misconfiguration. Mirrors ZealPHP\Store\StoreException for the Store primitives so callers can catch a ZealPHP-namespaced type rather than a raw \PDOException for pool-level (not query-level) failures.
MysqliDriver
{@see PoolDriver} for \mysqli connections — for code that uses mysqli directly rather than PDO (WordPress's $wpdb, legacy apps, mysqlnd-native code). Like PDO_MYSQL, mysqli rides mysqlnd → php_stream, so its socket I/O IS coroutinized under HOOK_ALL (non-blocking per query) — the full coroutine benefit, not just connection bounding.
PdoDriver
{@see PoolDriver} for \PDO connections — works with any PDO driver (MySQL, PostgreSQL, SQLite, SQL Server, Oracle, …).
On this page