I would use Query Builder instead of Eloquent, because unlike eloquent which makes a Model instance and then inserts, query builder writes directly to the db table
duvalg liked this reply
Here is a video link that explains how you can cut down your query time.
Seeding 50k DB Rows in Laravel:
It's a very short video and it will definitely help you :)
duvalg liked this reply
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community