db\Connection $masters

$masters public property

List of master connection configurations. Each configuration is used to create a master DB connection. When open() is called, one of these configurations will be chosen and used to create a DB connection which will be used by this object. Note that when this property is not empty, the connection setting (e.g. "dsn", "username") of this object will be ignored.

See also $masterConfig.

public array $masters = []
doc_Yii
2016-10-30 16:57:38
Comments
Leave a Comment

Please login to continue.