Skip to content

How to implement Upsert? #35

@dirac-lee

Description

@dirac-lee

How to implement Upsert?

The document you expected this should be explained

In GEN (https://gorm.io/gen/create.html), there is an Upsert / On Conflict method. But in CLI, I cannot find any related feature.

Expected answer

How to set clause.OnConflict{ DoNothing: true }

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