예제 #1
0
 public function findByGroupId($groupId)
 {
     return $this->model->join('group_person', 'people.id', '=', 'person_id')->where('group_id', '=', $groupId)->orderBy('name', 'asc')->get();
 }