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

Function ByTimestamp

ent/gitcommit/gitcommit.go:136–138  ·  view source on GitHub ↗

ByTimestamp orders the results by the timestamp field.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

134
135// ByTimestamp orders the results by the timestamp field.
136func ByTimestamp(opts ...sql.OrderTermOption) OrderOption {
137 return sql.OrderByField(FieldTimestamp, opts...).ToFunc()
138}
139
140// ByPrNumber orders the results by the pr_number field.
141func ByPrNumber(opts ...sql.OrderTermOption) OrderOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected