MCPcopy
hub / github.com/crowdsecurity/crowdsec / Order

Method Order

pkg/database/ent/meta_query.go:58–61  ·  view source on GitHub ↗

Order specifies how the records should be ordered.

(o ...meta.OrderOption)

Source from the content-addressed store, hash-verified

56
57// Order specifies how the records should be ordered.
58func (_q *MetaQuery) Order(o ...meta.OrderOption) *MetaQuery {
59 _q.order = append(_q.order, o...)
60 return _q
61}
62
63// QueryOwner chains the current query on the "owner" edge.
64func (_q *MetaQuery) QueryOwner() *AlertQuery {

Calls

no outgoing calls

Tested by

no test coverage detected