protected function _get_levels($ids) { return Comment::Join('comment_extend', 'comments.id', '=', 'comment_extend.id')->whereRaw("`comments`.`id` in ({$ids})")->get()->toArray(); }