Exemplo n.º 1
0
 public function get_user_rank_where_in($ids_array)
 {
     $status = Answers_status::whereIn('user_id', $ids_array)->where('status', '=', 1)->get();
     if (count($status) > 0) {
         return $status->toArray();
     } else {
         return "";
     }
 }