MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / ByStatus

Function ByStatus

ent/node/node.go:171–173  ·  view source on GitHub ↗

ByStatus orders the results by the status field.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

169
170// ByStatus orders the results by the status field.
171func ByStatus(opts ...sql.OrderTermOption) OrderOption {
172 return sql.OrderByField(FieldStatus, opts...).ToFunc()
173}
174
175// ByName orders the results by the name field.
176func ByName(opts ...sql.OrderTermOption) OrderOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected