Closed seabasss closed 2 years ago
Fixed it:
public function collection(): Collection
{
return Post::all();
}
Minor detail. The example page say public function query();
. This should be public function query()
right?
Hi @seabasss
Thanks for the feedback.
That's correct - it should be public function query
without the semicolon ;
.
I have just fixed the README file and also added a new section "Data sources" with more samples: https://github.com/vitorccs/laravel-csv#data-sources
Hi @seabasss
Thanks for the feedback.
That's correct - it should be
public function query
without the semicolon;
.I have just fixed the README file and also added a new section "Data sources" with more samples: https://github.com/vitorccs/laravel-csv#data-sources
Amazing! Thank you so much! Exports are working great!
Thanks, this package looks great!
I can't figure out how to use the
FromCollection
feature. It's the only one without any examples. I'm trying this:But I'm getting this:
Ideas? Thank you!