Skip to content

Model() is not replacing the old value within a transaction #740

@alkuma

Description

@alkuma

GORM Playground Link

#739

Description

Attempt to insert into two different tables within a transaction one by one.

Expected : Successful commit should lead to a record each in both the tables.

Actual : the transaction errors with the error described in the PR description

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions