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

Method Order

ent/storagepolicy_query.go:64–67  ·  view source on GitHub ↗

Order specifies how the records should be ordered.

(o ...storagepolicy.OrderOption)

Source from the content-addressed store, hash-verified

62
63// Order specifies how the records should be ordered.
64func (spq *StoragePolicyQuery) Order(o ...storagepolicy.OrderOption) *StoragePolicyQuery {
65 spq.order = append(spq.order, o...)
66 return spq
67}
68
69// QueryGroups chains the current query on the "groups" edge.
70func (spq *StoragePolicyQuery) QueryGroups() *GroupQuery {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected