Laravel Pro Tips
Laravel tip. If you want to get the list of the columns for a certain table, it's easy.
Povilas Korop | Laravel Courses Creator & Youtuber
🌟 Eloquent tip
If you need to insert or update a whole bunch of records in a loop, don't use `Model::updateOrCreate`.
Instead, use the `DB` facade's `upsert` method to use your database's built-in upsert functionality to do the whole thing in one query!
Kai Sassnowski 🥔
👉A #Laravel DB Cheatsheet Part 1/5 🔥🔥 #PHP
🎉Part 2 coming tomorrow 👀
Aaron Lumsden 🎉 | Indie Hacker Dev
No articles were found.