OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using: client.Setting.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
(columns ...string)
| 587 | // OnConflict(sql.ConflictColumns(columns...)). |
| 588 | // Exec(ctx) |
| 589 | func (scb *SettingCreateBulk) OnConflictColumns(columns ...string) *SettingUpsertBulk { |
| 590 | scb.conflict = append(scb.conflict, sql.ConflictColumns(columns...)) |
| 591 | return &SettingUpsertBulk{ |
| 592 | create: scb, |
| 593 | } |
| 594 | } |
| 595 | |
| 596 | // SettingUpsertBulk is the builder for "upsert"-ing |
| 597 | // a bulk of Setting nodes. |
nothing calls this directly
no outgoing calls
no test coverage detected