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

Method Modify

ent/nodeversion_update.go:769–772  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected