Support the ongoing development of Laravel.io →

chipit24

Joined 27 May 2014

Statistics

Threads 1
Replies 2
Solutions 0
Articles 0

How to add data to many-to-many polymorphic relation?

I have an Org model and a Tag model. I want to associate tags with organizations. My database tables...

0 Likes
3 Replies
Solved
replied 10 years ago

How to add data to many-to-many polymorphic relation?

As stated by jarektkaczyk on stackoverflow, using $org->tags()->sync(Input::get('tags')); solv...

0 Likes
replied 10 years ago

How to add data to many-to-many polymorphic relation?

Yes, I have posted this in two different places :p

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.