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

Method WithStorageFile

ent/nodeversion_query.go:353–360  ·  view source on GitHub ↗

WithStorageFile tells the query-builder to eager-load the nodes that are connected to the "storage_file" edge. The optional arguments are used to configure the query builder of the edge.

(opts ...func(*StorageFileQuery))

Source from the content-addressed store, hash-verified

351// WithStorageFile tells the query-builder to eager-load the nodes that are connected to
352// the "storage_file" edge. The optional arguments are used to configure the query builder of the edge.
353func (nvq *NodeVersionQuery) WithStorageFile(opts ...func(*StorageFileQuery)) *NodeVersionQuery {
354 query := (&StorageFileClient{config: nvq.config}).Query()
355 for _, opt := range opts {
356 opt(query)
357 }
358 nvq.withStorageFile = query
359 return nvq
360}
361
362// WithComfyNodes tells the query-builder to eager-load the nodes that are connected to
363// the "comfy_nodes" edge. The optional arguments are used to configure the query builder of the edge.

Callers 7

ListNodeVersionsMethod · 0.45
GetLatestNodeVersionMethod · 0.45
GetGitcommitMethod · 0.45
GetGitcommitsummaryMethod · 0.45
GetWorkflowResultMethod · 0.45

Calls 1

QueryMethod · 0.45

Tested by

no test coverage detected