对于这个方法,需要注意默认连接的使用,还要将自动提交模式设为false。
Things to note about this method are the use of the default connection and setting the autocommit mode to false.
首先,应当关闭自动提交模式,这样,每条sql语句的结果不会被自动提交给数据库。
First, you should turn off autocommit mode so the results of each SQL statement aren't automatically committed to the database.
默认的事务行为是自动提交模式。在该模式下,每个语句在发送到目标服务器时进行提交。
The default transactional behavior is auto-commit mode, where each statement is committed as it is sent to the target server.
该命令关闭sql语句的自动提交,并删除在CLP交互输入模式下显示的提示符。
This command turns off the automatic commitment of SQL statements and removes the prompt that is displayed in CLP interactive input mode.
不幸的是,并不是每种数据库都支持事务,所以当第一次打开连接时,PDO需要在所谓的“自动提交(auto - commit)”模式下运行。
Unfortunately, not every database supports transactions, so PDO needs to run in what is known as "auto-commit" mode when you first open the connection.
这个新的播放器还提供了隐私模式,关闭自动提交(scrobbling)选项,从而在完全保密的情况下听你爱听的歌曲。
The new player also features a private listening mode, where scrobbling is turned off so that you can listen to your favorite Jonas Brothers songs in total privacy.
这个新的播放器还提供了隐私模式,关闭自动提交(scrobbling)选项,从而在完全保密的情况下听你爱听的歌曲。
The new player also features a private listening mode, where scrobbling is turned off so that you can listen to your favorite Jonas Brothers songs in total privacy.
应用推荐