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

Function ByStorageFileField

ent/nodeversion/nodeversion.go:200–204  ·  view source on GitHub ↗

ByStorageFileField orders the results by storage_file field.

(field string, opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

198
199// ByStorageFileField orders the results by storage_file field.
200func ByStorageFileField(field string, opts ...sql.OrderTermOption) OrderOption {
201 return func(s *sql.Selector) {
202 sqlgraph.OrderByNeighborTerms(s, newStorageFileStep(), sql.OrderByField(field, opts...))
203 }
204}
205
206// ByComfyNodesCount orders the results by comfy_nodes count.
207func ByComfyNodesCount(opts ...sql.OrderTermOption) OrderOption {

Callers

nothing calls this directly

Calls 1

newStorageFileStepFunction · 0.70

Tested by

no test coverage detected