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
Feat/fixed many2 many and added update model #124
Feat/fixed many2 many and added update model #124
Conversation
… ID and we want to update instead of create again
Hey @carlesnunez, Thanks for submitting a PR! I noticed your other PR #112, but I'll leave comments here
|
I would name it upsert (update or insert) like the term that is using for mySQL, Postgres and etc |
added upsert here |
will duplicate my answer here:
P.S. It's all about contributing to library and improving it, but not about personal ego and copyrighting every line of code. As for me, I would be fine with such merging. |
maybe it's a good idea to create authors.md or contributors.md file with list of people that have some activity at project (issues/PR). |
I am agree with that @plandem I close this PR then! |
The next PR implements a feature that allow the developer to update instead of create a record if the props.id that we are passing to the create are already as a record on our store. It also, fixes a many2many error.