atlas/pdo
最新稳定版本:2.0.1
Composer 安装命令:
composer require atlas/pdo
包简介
Provides a PDO instance decorator with convenience methods, and a connection manager.
关键字:
README 文档
README
This package provides a Connection that decorates any PDO instance to provide the following:
-
A
perform()that method acts just likequery(), but binds values to a prepared statement as part of the call. -
Several
fetch*()methods to return results in commonly-occurring situations. -
Several
yield*()methods asfetch*()equivalents to yield results instead of returning them. -
Query logging, including backtraces to find where queries were issued.
This package also provides a ConnectionLocator to register, instantiate, and retain named Connection objects for default, read (slave), and write (master) databases.
Read the documentation here.
统计信息
- 总下载量: 252.65k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 18
- 点击次数: 3
- 依赖项目数: 9
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04