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
Learning PHP, MySQL, and JavaScript
Robin Nixon / O'Reilly Media / 2009-7-21 / USD 39.99
Learn how to create responsive, data-driven websites with PHP, MySQL, and JavaScript - whether or not you know how to program. This simple, streamlined guide explains how the powerful combination of P......一起来看看 《Learning PHP, MySQL, and JavaScript》 这本书的介绍吧!