OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using: client.Node.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
(columns ...string)
| 922 | // OnConflict(sql.ConflictColumns(columns...)). |
| 923 | // Exec(ctx) |
| 924 | func (ncb *NodeCreateBulk) OnConflictColumns(columns ...string) *NodeUpsertBulk { |
| 925 | ncb.conflict = append(ncb.conflict, sql.ConflictColumns(columns...)) |
| 926 | return &NodeUpsertBulk{ |
| 927 | create: ncb, |
| 928 | } |
| 929 | } |
| 930 | |
| 931 | // NodeUpsertBulk is the builder for "upsert"-ing |
| 932 | // a bulk of Node nodes. |
nothing calls this directly
no outgoing calls
no test coverage detected