SaveX is like Save, but panics if an error occurs.
(ctx context.Context)
| 679 | |
| 680 | // SaveX is like Save, but panics if an error occurs. |
| 681 | func (_c *UserCreateBulk) SaveX(ctx context.Context) []*User { |
| 682 | v, err := _c.Save(ctx) |
| 683 | if err != nil { |
| 684 | panic(err) |
| 685 | } |
| 686 | return v |
| 687 | } |
| 688 | |
| 689 | // Exec executes the query. |
| 690 | func (_c *UserCreateBulk) Exec(ctx context.Context) error { |