简体   繁体   中英

Using PDO transactions without ATTR_PERSISTENT?

Will transactions work as well without setting the option ATTR_PERSISTENT? The only example in the manual implies that:

http://php.net/manual/en/pdo.transactions.php

是的,它应该起作用,因为“事务”与您建立的连接类型无关。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM