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

Function ByID

ent/gitcommit/gitcommit.go:91–93  ·  view source on GitHub ↗

ByID orders the results by the id field.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

89
90// ByID orders the results by the id field.
91func ByID(opts ...sql.OrderTermOption) OrderOption {
92 return sql.OrderByField(FieldID, opts...).ToFunc()
93}
94
95// ByCreateTime orders the results by the create_time field.
96func ByCreateTime(opts ...sql.OrderTermOption) OrderOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected