Save executes the query and returns the updated Group entity.
(ctx context.Context)
| 535 | |
| 536 | // Save executes the query and returns the updated Group entity. |
| 537 | func (_u *GroupUpdateOne) Save(ctx context.Context) (*Group, error) { |
| 538 | return withHooks(ctx, _u.sqlSave, _u.mutation, _u.hooks) |
| 539 | } |
| 540 | |
| 541 | // SaveX is like Save, but panics if an error occurs. |
| 542 | func (_u *GroupUpdateOne) SaveX(ctx context.Context) *Group { |