Support the ongoing development of Laravel.io →

mrnukleinsav

Joined 17 Jul 2014

Statistics

Threads 2
Replies 1
Solutions 1
Articles 0

Eloquent delete from table when the last connection is detached from pivot

Hi! I have images and products table and the pivot table is image_product. What is the best way to a...

0 Likes
0 Replies

morphMany sorter type declaration

Hi! I created a morphMany relation, the related class is in sub folder and the type inserted in data...

0 Likes
1 Replies
Solved
replied 10 years ago

morphMany sorter type declaration

Need to set: protected $morphClass = "sortName";

0 Likes
Solved

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.