如何忽略或跳过特定列? 例如我有ff。 列:
我只想加载
所以基本上忽略了中间名和年龄列。
提前致谢。
我也想知道这一点。
// 选择
$reader->select(array('firstname', 'lastname'))->get();
// 或者
$reader->get(array('firstname', 'lastname'));
来源:http: //www.maatwebsite.nl/laravel-excel/docs/import#select
@rootchips ,感谢您的回答。 我也从之前的文档中看到了这一点。 但这是它的缺点。
如果我能从这个问题https://github.com/Maatwebsite/Laravel-Excel/issues/1165中得到答案,我可能正在使用这个库。
最有用的评论
我也想知道这一点。