Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to append MANY_MANY relationship #19

Open
jengtong opened this issue Sep 24, 2013 · 0 comments
Open

Unable to append MANY_MANY relationship #19

jengtong opened this issue Sep 24, 2013 · 0 comments

Comments

@jengtong
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant