Modify adds a statement modifier for attaching custom logic to the UPDATE statement.
(modifiers ...func(u *sql.UpdateBuilder))
| 590 | |
| 591 | // Modify adds a statement modifier for attaching custom logic to the UPDATE statement. |
| 592 | func (gcuo *GitCommitUpdateOne) Modify(modifiers ...func(u *sql.UpdateBuilder)) *GitCommitUpdateOne { |
| 593 | gcuo.modifiers = append(gcuo.modifiers, modifiers...) |
| 594 | return gcuo |
| 595 | } |
| 596 | |
| 597 | func (gcuo *GitCommitUpdateOne) sqlSave(ctx context.Context) (_node *GitCommit, err error) { |
| 598 | _spec := sqlgraph.NewUpdateSpec(gitcommit.Table, gitcommit.Columns, sqlgraph.NewFieldSpec(gitcommit.FieldID, field.TypeUUID)) |
nothing calls this directly
no outgoing calls
no test coverage detected