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

Fix Many-to-Many persistence #16

Merged
merged 1 commit into from
Mar 31, 2021

Conversation

jakejohns
Copy link
Contributor

Close atlasphp/Atlas.Orm#105
Close atlasphp/Atlas.Orm#107

setDelete all through relationships unless they match.
Fixes issue with detaching all related etc.

Close atlasphp/Atlas.Orm#105
Close atlasphp/Atlas.Orm#107

`setDelete` all through relationships unless they match.
Fixes issue with detaching all related etc.
@far-blue
Copy link
Contributor

PR makes sense and looks good :)

@far-blue
Copy link
Contributor

Would it be possible to capture the bug in a unit test, showing the PR fixes it?

@pmjones
Copy link
Contributor

pmjones commented Mar 31, 2021

Looks OK to me. Thanks @jakejohns !

@pmjones pmjones merged commit 2ef750a into atlasphp:1.x Mar 31, 2021
pmjones pushed a commit that referenced this pull request Apr 1, 2021
@pmjones pmjones mentioned this pull request Apr 1, 2021
pmjones added a commit that referenced this pull request May 10, 2021
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

Successfully merging this pull request may close these issues.

Updating Many to Many? Cannot delete all records in a many-to-many
3 participants