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

Method Order

ent/directlink_query.go:57–60  ·  view source on GitHub ↗

Order specifies how the records should be ordered.

(o ...directlink.OrderOption)

Source from the content-addressed store, hash-verified

55
56// Order specifies how the records should be ordered.
57func (dlq *DirectLinkQuery) Order(o ...directlink.OrderOption) *DirectLinkQuery {
58 dlq.order = append(dlq.order, o...)
59 return dlq
60}
61
62// QueryFile chains the current query on the "file" edge.
63func (dlq *DirectLinkQuery) QueryFile() *FileQuery {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected