ExecX is like Exec, but panics if an error occurs.
(ctx context.Context)
| 694 | |
| 695 | // ExecX is like Exec, but panics if an error occurs. |
| 696 | func (_c *UserCreateBulk) ExecX(ctx context.Context) { |
| 697 | if err := _c.Exec(ctx); err != nil { |
| 698 | panic(err) |
| 699 | } |
| 700 | } |
| 701 | |
| 702 | // OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause |
| 703 | // of the `INSERT` statement. For example: |