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

Method WithResults

ent/gitcommit_query.go:291–298  ·  view source on GitHub ↗

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

(opts ...func(*CIWorkflowResultQuery))

Source from the content-addressed store, hash-verified

289// WithResults tells the query-builder to eager-load the nodes that are connected to
290// the "results" edge. The optional arguments are used to configure the query builder of the edge.
291func (gcq *GitCommitQuery) WithResults(opts ...func(*CIWorkflowResultQuery)) *GitCommitQuery {
292 query := (&CIWorkflowResultClient{config: gcq.config}).Query()
293 for _, opt := range opts {
294 opt(query)
295 }
296 gcq.withResults = query
297 return gcq
298}
299
300// GroupBy is used to group vertices by one or more fields/columns.
301// It is often used with aggregate functions, like: count, max, mean, min, sum.

Callers

nothing calls this directly

Calls 1

QueryMethod · 0.45

Tested by

no test coverage detected