ExecX is like Exec, but panics if an error occurs.
(ctx context.Context)
| 1580 | |
| 1581 | // ExecX is like Exec, but panics if an error occurs. |
| 1582 | func (uuo *UserUpdateOne) ExecX(ctx context.Context) { |
| 1583 | if err := uuo.Exec(ctx); err != nil { |
| 1584 | panic(err) |
| 1585 | } |
| 1586 | } |
| 1587 | |
| 1588 | // defaults sets the default values of the builder before save. |
| 1589 | func (uuo *UserUpdateOne) defaults() error { |