select(\DB::raw('contct.id, contct.name, contct.email, contct.phone_no, contct.subject, contct.message, contct.created_at')) ->get(); } public function headings(): array { return [ 'Id', 'User Name', 'Email', 'Mobile No', 'Subject', 'Message', 'Created At', ]; } }