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

Function ByResultsCount

ent/gitcommit/gitcommit.go:146–150  ·  view source on GitHub ↗

ByResultsCount orders the results by results count.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

144
145// ByResultsCount orders the results by results count.
146func ByResultsCount(opts ...sql.OrderTermOption) OrderOption {
147 return func(s *sql.Selector) {
148 sqlgraph.OrderByNeighborsCount(s, newResultsStep(), opts...)
149 }
150}
151
152// ByResults orders the results by results terms.
153func ByResults(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption {

Callers

nothing calls this directly

Calls 1

newResultsStepFunction · 0.85

Tested by

no test coverage detected