Modify adds a statement modifier for attaching custom logic to the UPDATE statement.
(modifiers ...func(u *sql.UpdateBuilder))
| 305 | |
| 306 | // Modify adds a statement modifier for attaching custom logic to the UPDATE statement. |
| 307 | func (nvu *NodeVersionUpdate) Modify(modifiers ...func(u *sql.UpdateBuilder)) *NodeVersionUpdate { |
| 308 | nvu.modifiers = append(nvu.modifiers, modifiers...) |
| 309 | return nvu |
| 310 | } |
| 311 | |
| 312 | func (nvu *NodeVersionUpdate) sqlSave(ctx context.Context) (n int, err error) { |
| 313 | if err := nvu.check(); err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected