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

Method RemoveResults

ent/gitcommit_update.go:203–209  ·  view source on GitHub ↗

RemoveResults removes "results" edges to CIWorkflowResult entities.

(c ...*CIWorkflowResult)

Source from the content-addressed store, hash-verified

201
202// RemoveResults removes "results" edges to CIWorkflowResult entities.
203func (gcu *GitCommitUpdate) RemoveResults(c ...*CIWorkflowResult) *GitCommitUpdate {
204 ids := make([]uuid.UUID, len(c))
205 for i := range c {
206 ids[i] = c[i].ID
207 }
208 return gcu.RemoveResultIDs(ids...)
209}
210
211// Save executes the query and returns the number of nodes affected by the update operation.
212func (gcu *GitCommitUpdate) Save(ctx context.Context) (int, error) {

Callers

nothing calls this directly

Calls 1

RemoveResultIDsMethod · 0.95

Tested by

no test coverage detected