Skip to content

Conversation

MuhmdHsn313
Copy link

Explain your user case and expected results

I have one to many relation between Item and ItemContent, so I created an item with 2 contents after that I need to replace the previous contents with new 3 contents, so I tried to use Association.Replace but it added the last 3 contents and didn't remove the first 2 contents.

I created an issue in gorm repo: go-gorm/gorm#5899

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.

1 participant