ExecX is like Exec, but panics if an error occurs.
(ctx context.Context)
| 392 | |
| 393 | // ExecX is like Exec, but panics if an error occurs. |
| 394 | func (muo *MetadataUpdateOne) ExecX(ctx context.Context) { |
| 395 | if err := muo.Exec(ctx); err != nil { |
| 396 | panic(err) |
| 397 | } |
| 398 | } |
| 399 | |
| 400 | // defaults sets the default values of the builder before save. |
| 401 | func (muo *MetadataUpdateOne) defaults() error { |