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

Method AddVersionIDs

ent/node_create.go:247–250  ·  view source on GitHub ↗

AddVersionIDs adds the "versions" edge to the NodeVersion entity by IDs.

(ids ...uuid.UUID)

Source from the content-addressed store, hash-verified

245
246// AddVersionIDs adds the "versions" edge to the NodeVersion entity by IDs.
247func (nc *NodeCreate) AddVersionIDs(ids ...uuid.UUID) *NodeCreate {
248 nc.mutation.AddVersionIDs(ids...)
249 return nc
250}
251
252// AddVersions adds the "versions" edges to the NodeVersion entity.
253func (nc *NodeCreate) AddVersions(n ...*NodeVersion) *NodeCreate {

Callers 1

AddVersionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected