SaveX is like Save, but panics if an error occurs.
(ctx context.Context)
| 540 | |
| 541 | // SaveX is like Save, but panics if an error occurs. |
| 542 | func (_u *GroupUpdateOne) SaveX(ctx context.Context) *Group { |
| 543 | node, err := _u.Save(ctx) |
| 544 | if err != nil { |
| 545 | panic(err) |
| 546 | } |
| 547 | return node |
| 548 | } |
| 549 | |
| 550 | // Exec executes the query on the entity. |
| 551 | func (_u *GroupUpdateOne) Exec(ctx context.Context) error { |