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

Method AddResults

ent/gitcommit_create.go:149–155  ·  view source on GitHub ↗

AddResults adds the "results" edges to the CIWorkflowResult entity.

(c ...*CIWorkflowResult)

Source from the content-addressed store, hash-verified

147
148// AddResults adds the "results" edges to the CIWorkflowResult entity.
149func (gcc *GitCommitCreate) AddResults(c ...*CIWorkflowResult) *GitCommitCreate {
150 ids := make([]uuid.UUID, len(c))
151 for i := range c {
152 ids[i] = c[i].ID
153 }
154 return gcc.AddResultIDs(ids...)
155}
156
157// Mutation returns the GitCommitMutation object of the builder.
158func (gcc *GitCommitCreate) Mutation() *GitCommitMutation {

Callers

nothing calls this directly

Calls 1

AddResultIDsMethod · 0.95

Tested by

no test coverage detected