Support the ongoing development of Laravel.io →

khaledelmahdi

Joined 2 Apr 2014

Statistics

Threads 1
Replies 2
Solutions 0
Articles 0

3 related Models, how to insert update delete?

Hello, I am new to Laravel and have an issue in one of my models. I have the follwoing: class User e...

0 Likes
4 Replies
replied 10 years ago

3 related Models, how to insert update delete?

something really wrong here. when i use the above code, i can see the account record inserted succes...

0 Likes
replied 10 years ago

3 related Models, how to insert update delete?

jarektkaczyk said: You can query pivot table this way: $user->accounts()->whereIn('account_us...

0 Likes

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.