You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wondering if every time I save a new MANY_MANY relationship model, is it possible to preserve the old data? Each time I insert something new, say a new photo, which is linked by MANY_MANY relationship, the SaveRelated method will automatically remove all my old relation.
It is not practical to include all the data in my form every time when I just need to add something new. Perhaps you can add an "append" option in your SaveWithRelated and SaveRelated function, and use it to stop the deleting process?
I found nother SaveRelated extension from yii before, they are providing this feature where I found it quite useful, Please consider to modify it if possible.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi there,
Just wondering if every time I save a new MANY_MANY relationship model, is it possible to preserve the old data? Each time I insert something new, say a new photo, which is linked by MANY_MANY relationship, the SaveRelated method will automatically remove all my old relation.
It is not practical to include all the data in my form every time when I just need to add something new. Perhaps you can add an "append" option in your SaveWithRelated and SaveRelated function, and use it to stop the deleting process?
I found nother SaveRelated extension from yii before, they are providing this feature where I found it quite useful, Please consider to modify it if possible.
Thank you.
The text was updated successfully, but these errors were encountered: