Ignore sets each column to itself in case of conflict. Using this option is equivalent to using: client.Node.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
()
| 570 | // OnConflict(sql.ResolveWithIgnore()). |
| 571 | // Exec(ctx) |
| 572 | func (u *NodeUpsertOne) Ignore() *NodeUpsertOne { |
| 573 | u.create.conflict = append(u.create.conflict, sql.ResolveWithIgnore()) |
| 574 | return u |
| 575 | } |
| 576 | |
| 577 | // DoNothing configures the conflict_action to `DO NOTHING`. |
| 578 | // Supported only by SQLite and PostgreSQL. |
nothing calls this directly
no outgoing calls
no test coverage detected