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

Method Order

ent/setting_query.go:55–58  ·  view source on GitHub ↗

Order specifies how the records should be ordered.

(o ...setting.OrderOption)

Source from the content-addressed store, hash-verified

53
54// Order specifies how the records should be ordered.
55func (sq *SettingQuery) Order(o ...setting.OrderOption) *SettingQuery {
56 sq.order = append(sq.order, o...)
57 return sq
58}
59
60// First returns the first Setting entity from the query.
61// Returns a *NotFoundError when no Setting was found.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected