$db public property
The DB connection object or the application component ID of the DB connection. If not set, the default DB connection will be used. Starting from version 2.0.2, this can also be a configuration array for creating the object.
public yii\db\Connection|array|string $db = null
Please login to continue.