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

Method Order

ent/entity_query.go:62–65  ·  view source on GitHub ↗

Order specifies how the records should be ordered.

(o ...entity.OrderOption)

Source from the content-addressed store, hash-verified

60
61// Order specifies how the records should be ordered.
62func (eq *EntityQuery) Order(o ...entity.OrderOption) *EntityQuery {
63 eq.order = append(eq.order, o...)
64 return eq
65}
66
67// QueryFile chains the current query on the "file" edge.
68func (eq *EntityQuery) QueryFile() *FileQuery {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected