MCPcopy Create free account
hub / github.com/Comfy-Org/registry-backend / Modify

Method Modify

ent/gitcommit_update.go:592–595  ·  view source on GitHub ↗

Modify adds a statement modifier for attaching custom logic to the UPDATE statement.

(modifiers ...func(u *sql.UpdateBuilder))

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected