LoginSignup
0
0

More than 5 years have passed since last update.

トランザクション機能はstart transaction, commitを使ってる

Last updated at Posted at 2016-08-17

CakePHPのdatasource->beginはmysqlのbeginで、start transactionと同意。裏ではMysqlのトランザクションを利用している。

database->commitもmysqlのトランザクションの機能のcommitを利用している。

select for updateの挙動をコンソールで試していたら、初めて知った。MySQLの知識を深めるのも大事だなー

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0