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

Method Order

ent/share_query.go:60–63  ·  view source on GitHub ↗

Order specifies how the records should be ordered.

(o ...share.OrderOption)

Source from the content-addressed store, hash-verified

58
59// Order specifies how the records should be ordered.
60func (sq *ShareQuery) Order(o ...share.OrderOption) *ShareQuery {
61 sq.order = append(sq.order, o...)
62 return sq
63}
64
65// QueryUser chains the current query on the "user" edge.
66func (sq *ShareQuery) QueryUser() *UserQuery {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected