SetIgnore sets the column to itself. For example, "id" = "users"."id".
(name string)
| 414 | |
| 415 | // SetIgnore sets the column to itself. For example, "id" = "users"."id". |
| 416 | func (u *UpdateSet) SetIgnore(name string) *UpdateSet { |
| 417 | return u.Set(name, Expr(u.Table().C(name))) |
| 418 | } |
| 419 | |
| 420 | // SetExcluded sets the column name to its EXCLUDED/VALUES value. |
| 421 | // For example, "c" = "excluded"."c", or `c` = VALUES(`c`). |