Yii Framework Forum: Saving Data In Join Table - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Saving Data In Join Table Saving data in join table throught AR

#1 User is offline   nicholasnet 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 17
  • Joined: 01-February 11

Posted 28 December 2012 - 04:45 PM

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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users