web\DbSession $db

$db public property

The DB connection object or the application component ID of the DB connection. After the DbSession object is created, if you want to change this property, you should only assign it with a DB connection object. Starting from version 2.0.2, this can also be a configuration array for creating the object.

doc_Yii
2016-10-30 17:14:54
Comments
Leave a Comment

Please login to continue.