Save executes the query and returns the updated NodeVersion entity.
(ctx context.Context)
| 718 | |
| 719 | // Save executes the query and returns the updated NodeVersion entity. |
| 720 | func (nvuo *NodeVersionUpdateOne) Save(ctx context.Context) (*NodeVersion, error) { |
| 721 | nvuo.defaults() |
| 722 | return withHooks(ctx, nvuo.sqlSave, nvuo.mutation, nvuo.hooks) |
| 723 | } |
| 724 | |
| 725 | // SaveX is like Save, but panics if an error occurs. |
| 726 | func (nvuo *NodeVersionUpdateOne) SaveX(ctx context.Context) *NodeVersion { |