PDO::inTransaction
PHP 教程
· 2019-01-28 17:14:08
PDO::inTransaction — 检查是否在一个事务内(PHP 5 >= 5.3.3, Bundled pdo_pgsql)
说明
语法
bool PDO::inTransaction ( void )
检查驱动内的一个事务当前是否处于激活。此方法仅对支持事务的数据库驱动起作用。
参数
此函数没有参数。
返回值
如果当前事务处于激活,则返回 TRUE ,否则返回 FALSE 。
点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html
Smarter Than You Think
Clive Thompson / Penguin Press HC, The / 2013-9-12 / USD 27.95
It's undeniable—technology is changing the way we think. But is it for the better? Amid a chorus of doomsayers, Clive Thompson delivers a resounding "yes." The Internet age has produced a radical new ......一起来看看 《Smarter Than You Think》 这本书的介绍吧!