Support the ongoing development of Laravel.io →

defiant

Joined 27 May 2014

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0

How to save Eloquent Model with relations in one go?

When saving a model with relations we do something like this; $ship = new Ship; $ship->name = 'E...

0 Likes
6 Replies
replied 9 years ago

How to save Eloquent Model with relations in one go?

@evandertino What you say kinda makes sense. But suppose you have to create the ship at the same tim...

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.