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

Function ByCreateTime

ent/gitcommit/gitcommit.go:96–98  ·  view source on GitHub ↗

ByCreateTime orders the results by the create_time field.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

94
95// ByCreateTime orders the results by the create_time field.
96func ByCreateTime(opts ...sql.OrderTermOption) OrderOption {
97 return sql.OrderByField(FieldCreateTime, opts...).ToFunc()
98}
99
100// ByUpdateTime orders the results by the update_time field.
101func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected