Is there a global way to get any data from the db table, as I could not find anything that did work(new to Yii2, and working on a already build yii2 application).
Working in a controller with the following code:
$results = Yii::app()->db->createCommand('SELECT * FROM category_translation')->queryAll();
return $results;