ExecX is like Exec, but panics if an error occurs.
(ctx context.Context)
| 468 | |
| 469 | // ExecX is like Exec, but panics if an error occurs. |
| 470 | func (tuo *TaskUpdateOne) ExecX(ctx context.Context) { |
| 471 | if err := tuo.Exec(ctx); err != nil { |
| 472 | panic(err) |
| 473 | } |
| 474 | } |
| 475 | |
| 476 | // defaults sets the default values of the builder before save. |
| 477 | func (tuo *TaskUpdateOne) defaults() error { |