Esc
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\StoreExceptionfor the Store primitives so callers can catch a ZealPHP-namespaced type rather than a raw\PDOExceptionfor pool-level (not query-level) failures. - MysqliDriver
- {@see PoolDriver} for
\mysqliconnections — for code that uses mysqli directly rather than PDO (WordPress's$wpdb, legacy apps, mysqlnd-native code). LikePDO_MYSQL, mysqli rides mysqlnd →php_stream, so its socket I/O IS coroutinized underHOOK_ALL(non-blocking per query) — the full coroutine benefit, not just connection bounding. - PdoDriver
- {@see PoolDriver} for
\PDOconnections — works with any PDO driver (MySQL, PostgreSQL, SQLite, SQL Server, Oracle, …).