How to use Eloquent Builder/Model macros #4206
Unanswered
andreapozza
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can't figure out how to use Eloquent Builder/Model macros.
If I do
User::query()->storeExcel('query-store.xlsx', 'your-disk');
in a command I getCall to undefined method Illuminate\Database\Eloquent\Builder::storeExcel()
.How is it supposed to be used?
Beta Was this translation helpful? Give feedback.
All reactions