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

Method Order

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

Order specifies how the records should be ordered.

(o ...metadata.OrderOption)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected