예제 #1
0
파일: Advert.php 프로젝트: aiskimzhi/rep
 public function getMyAdvert($id)
 {
     $query = new Query();
     $array = $query->select(['title', 'updated_at', 'views'])->from(Advert::tableName())->where(['id' => $id])->all();
     return $array;
 }