ExecX is like Exec, but panics if an error occurs.
(ctx context.Context)
| 813 | |
| 814 | // ExecX is like Exec, but panics if an error occurs. |
| 815 | func (gccb *GitCommitCreateBulk) ExecX(ctx context.Context) { |
| 816 | if err := gccb.Exec(ctx); err != nil { |
| 817 | panic(err) |
| 818 | } |
| 819 | } |
| 820 | |
| 821 | // OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause |
| 822 | // of the `INSERT` statement. For example: |