Support the ongoing development of Laravel.io →
Eloquent Architecture
Last updated 2 years ago.
0

you may use saveMany(array $models) instead of save() check API Doc for more

Last updated 2 years ago.
0

Please check the following article which saves users and their interests using and interest_user table. Hope it applies to this situation. http://alex.leonard.ie/2013/04/03/laravel-making-many-to-many-relationships-easy/

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

thplat thplat Joined 6 Feb 2014

Moderators

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.