Laravel strict mode Part 1 #shorts
With the 9.35 update, Laravel added a new strict mode feature to eloquent models.
When writing a query if you don't retrieve a relationship, and then later try to access it, by default Laravel will lazy load it, and it will cause n+1 queries. Now there is a way to prevent this.
Part 2: https://www.youtube.com/shorts/oPYeT4yCq6M
Part 3: https://www.youtube.com/shorts/A0ur5xjS_wc
#laravel #shorts #laravel9 #php
Видео Laravel strict mode Part 1 #shorts канала Ismayil Mirzayev
When writing a query if you don't retrieve a relationship, and then later try to access it, by default Laravel will lazy load it, and it will cause n+1 queries. Now there is a way to prevent this.
Part 2: https://www.youtube.com/shorts/oPYeT4yCq6M
Part 3: https://www.youtube.com/shorts/A0ur5xjS_wc
#laravel #shorts #laravel9 #php
Видео Laravel strict mode Part 1 #shorts канала Ismayil Mirzayev
Комментарии отсутствуют
Информация о видео
2 января 2023 г. 15:04:14
00:00:39
Другие видео канала