go-gorm / go-gorm/cli

How to implement Upsert?

Open
#35 1 comment 0 reactions 1 assignee Claimed by @jinzhu View on GitHub
Dominant language
Go
Stars
108
Forks
15
PR merge metrics
No merged PRs in 30d

Description

## 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 }

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.