Modify adds a statement modifier for attaching custom logic to the UPDATE statement.
(modifiers ...func(u *sql.UpdateBuilder))
| 767 | |
| 768 | // Modify adds a statement modifier for attaching custom logic to the UPDATE statement. |
| 769 | func (nvuo *NodeVersionUpdateOne) Modify(modifiers ...func(u *sql.UpdateBuilder)) *NodeVersionUpdateOne { |
| 770 | nvuo.modifiers = append(nvuo.modifiers, modifiers...) |
| 771 | return nvuo |
| 772 | } |
| 773 | |
| 774 | func (nvuo *NodeVersionUpdateOne) sqlSave(ctx context.Context) (_node *NodeVersion, err error) { |
| 775 | if err := nvuo.check(); err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected