MAATWEBSITE LARAVEL

146 views Asked by At

I want to import data tables(multiple) using excel(single) file. I am not sure how to achieve same with query builder. I am not using model for this.

Excel::import(QUERY BUILDER INSERT QUERY, $request->file('file')->store('temp'));

can i use insert query here? if yes then how. Any help would be appreciated. Thanks.

1

There are 1 answers

1
Ask17 On

They've documented that on their website: Please see this Page. https://docs.laravel-excel.com/3.1/exports/from-query.html