Save executes the query and returns the number of nodes affected by the update operation.
(ctx context.Context)
| 189 | |
| 190 | // Save executes the query and returns the number of nodes affected by the update operation. |
| 191 | func (_u *GroupUpdate) Save(ctx context.Context) (int, error) { |
| 192 | return withHooks(ctx, _u.sqlSave, _u.mutation, _u.hooks) |
| 193 | } |
| 194 | |
| 195 | // SaveX is like Save, but panics if an error occurs. |
| 196 | func (_u *GroupUpdate) SaveX(ctx context.Context) int { |