SaveX is like Save, but panics if an error occurs.
(ctx context.Context)
| 560 | |
| 561 | // SaveX is like Save, but panics if an error occurs. |
| 562 | func (gcuo *GitCommitUpdateOne) SaveX(ctx context.Context) *GitCommit { |
| 563 | node, err := gcuo.Save(ctx) |
| 564 | if err != nil { |
| 565 | panic(err) |
| 566 | } |
| 567 | return node |
| 568 | } |
| 569 | |
| 570 | // Exec executes the query on the entity. |
| 571 | func (gcuo *GitCommitUpdateOne) Exec(ctx context.Context) error { |