简体   繁体   English

MAATWEBSITE LARAVEL

[英]MAATWEBSITE LARAVEL

I want to import data tables(multiple) using excel(single) file.我想使用excel(单个)文件导入数据表(多个)。 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')); 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.谢谢。

They've documented that on their website: Please see this Page.他们已经在他们的网站上记录了这一点:请参阅此页面。 https://docs.laravel-excel.com/3.1/exports/from-query.html https://docs.laravel-excel.com/3.1/exports/from-query.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM