I want to display a GridView with data not coming from the default database. I am generating an ActiveDataProvider.
$dataProvider = new ActiveDataProvider([
‘db’ => self::$db0,
‘query’ => $query,
self::$db0 is second base.
And it gave me a message
The table does not exist: SummaryCompany
What am I doing wrong?