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

Method Order

ent/node_query.go:58–61  ·  view source on GitHub ↗

Order specifies how the records should be ordered.

(o ...node.OrderOption)

Source from the content-addressed store, hash-verified

56
57// Order specifies how the records should be ordered.
58func (nq *NodeQuery) Order(o ...node.OrderOption) *NodeQuery {
59 nq.order = append(nq.order, o...)
60 return nq
61}
62
63// QueryStoragePolicy chains the current query on the "storage_policy" edge.
64func (nq *NodeQuery) QueryStoragePolicy() *StoragePolicyQuery {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected