Перейти к содержимому

New in Laravel 8.52: Touch Many-to-Many Parent (and what is Touch?)

Laravel Daily

0:00 / 0:00

New in Laravel 8.52: Touch Many-to-Many Parent (and what is Touch?)

10 158 просмотров · 5 лет назад
Laravel Daily
161 тыс. подписчиков
10 158 просмотров · 5 лет назад
A new improvement on a touch() Eloquent feature, but I think for many of you, the touch() itself will be also news, so let's learn it all step by step. Related links: Original PR in Laravel 8.52: [8.x] BelongsToMany sync() will support touching for pivots when the result contains detached items https://github.com/laravel/framework/... Laravel Soft UI Bootstrap 5 Theme: https://github.com/LaravelDaily/Larav... Many-to-Many: Defining Custom Intermediate Table Models https://laravel.com/docs/8.x/eloquent... - - - - Support the channel by checking out our products: Enroll in my Laravel courses: https://laraveldaily.teachable.com Try our Laravel QuickAdminPanel: https://bit.ly/quickadminpanel Purchase my Livewire Kit: https://livewirekit.com View Laravel Code Examples: https://laravelexamples.com Subscribe to my weekly newsletter: http://bit.ly/laravel-newsletter