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

Method Order

ent/file_query.go:70–73  ·  view source on GitHub ↗

Order specifies how the records should be ordered.

(o ...file.OrderOption)

Source from the content-addressed store, hash-verified

68
69// Order specifies how the records should be ordered.
70func (fq *FileQuery) Order(o ...file.OrderOption) *FileQuery {
71 fq.order = append(fq.order, o...)
72 return fq
73}
74
75// QueryOwner chains the current query on the "owner" edge.
76func (fq *FileQuery) QueryOwner() *UserQuery {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected