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

Function ByServer

ent/node/node.go:186–188  ·  view source on GitHub ↗

ByServer orders the results by the server field.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

184
185// ByServer orders the results by the server field.
186func ByServer(opts ...sql.OrderTermOption) OrderOption {
187 return sql.OrderByField(FieldServer, opts...).ToFunc()
188}
189
190// BySlaveKey orders the results by the slave_key field.
191func BySlaveKey(opts ...sql.OrderTermOption) OrderOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected