예제 #1
0
파일: Authors.php 프로젝트: kolibri1/test
 public function getAllAuthors()
 {
     return Authors::find()->select(["CONCAT(firstname, ' ', lastname) AS name", 'id'])->asArray()->all();
 }