Modify adds a statement modifier for attaching custom logic to the UPDATE statement.
(modifiers ...func(u *sql.UpdateBuilder))
| 246 | |
| 247 | // Modify adds a statement modifier for attaching custom logic to the UPDATE statement. |
| 248 | func (gcu *GitCommitUpdate) Modify(modifiers ...func(u *sql.UpdateBuilder)) *GitCommitUpdate { |
| 249 | gcu.modifiers = append(gcu.modifiers, modifiers...) |
| 250 | return gcu |
| 251 | } |
| 252 | |
| 253 | func (gcu *GitCommitUpdate) sqlSave(ctx context.Context) (n int, err error) { |
| 254 | _spec := sqlgraph.NewUpdateSpec(gitcommit.Table, gitcommit.Columns, sqlgraph.NewFieldSpec(gitcommit.FieldID, field.TypeUUID)) |
nothing calls this directly
no outgoing calls
no test coverage detected