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

Function ByUpdateTime

ent/gitcommit/gitcommit.go:101–103  ·  view source on GitHub ↗

ByUpdateTime orders the results by the update_time field.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

99
100// ByUpdateTime orders the results by the update_time field.
101func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption {
102 return sql.OrderByField(FieldUpdateTime, opts...).ToFunc()
103}
104
105// ByCommitHash orders the results by the commit_hash field.
106func ByCommitHash(opts ...sql.OrderTermOption) OrderOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected