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

Method WithNode

ent/nodeversion_query.go:342–349  ·  view source on GitHub ↗

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

(opts ...func(*NodeQuery))

Source from the content-addressed store, hash-verified

340// WithNode tells the query-builder to eager-load the nodes that are connected to
341// the "node" edge. The optional arguments are used to configure the query builder of the edge.
342func (nvq *NodeVersionQuery) WithNode(opts ...func(*NodeQuery)) *NodeVersionQuery {
343 query := (&NodeClient{config: nvq.config}).Query()
344 for _, opt := range opts {
345 opt(query)
346 }
347 nvq.withNode = query
348 return nvq
349}
350
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.

Callers

nothing calls this directly

Calls 1

QueryMethod · 0.45

Tested by

no test coverage detected