As per Mr. Qiang in this post. In YII 2 there will be no MANY-MANY relationship, furthermore separate model class have to be created for intermediate table. Instead why not take the approach of pivot table like one in Eloquent ORM like this. I think in my opinion this is much more elegant way to deal with intermediate table than what YII currently have and proposed version in YII 2 AR.
Page 1 of 1
Saving Data In Join Table Saving data in join table throught AR
Share this topic:
Page 1 of 1

Help
This topic is locked










