PHP yii\db Query::addSelect - 7 examples found. These are the top rated real world PHP examples of yii\db\Query::addSelect extracted from open source projects. You can rate examples to help us improve the quality of examples.
Note, that if [[select]] has not been specified before, you should include * explicitly
if you want to select all remaining columns too:
php
$query->addSelect(["*", "CONCAT(first_name, ' ', last_name) AS full_name"])->one();