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

Function ByAuthor

ent/gitcommit/gitcommit.go:131–133  ·  view source on GitHub ↗

ByAuthor orders the results by the author field.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

129
130// ByAuthor orders the results by the author field.
131func ByAuthor(opts ...sql.OrderTermOption) OrderOption {
132 return sql.OrderByField(FieldAuthor, opts...).ToFunc()
133}
134
135// ByTimestamp orders the results by the timestamp field.
136func ByTimestamp(opts ...sql.OrderTermOption) OrderOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected