Commit 5991006e by Alexander Makarov

Fixed example of closure-transactions

parent 504e973f
......@@ -89,7 +89,7 @@ use yii\caching\Cache;
* $connection->transaction(function() {
*
* // your code here
* }, $connection->beginTransaction(Transaction::READ_UNCOMMITTED));
* }, Transaction::READ_UNCOMMITTED);
* ~~~
*
* Connection is often used as an application component and configured in the application
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment