MCPcopy Index your code
hub / github.com/ent/ent / OrderDesc

Function OrderDesc

dialect/sql/sql.go:299–303  ·  view source on GitHub ↗

OrderDesc returns an option to sort in descending order.

()

Source from the content-addressed store, hash-verified

297
298// OrderDesc returns an option to sort in descending order.
299func OrderDesc() OrderTermOption {
300 return func(o *OrderTermOptions) {
301 o.Desc = true
302 }
303}
304
305// OrderAsc returns an option to sort in ascending order.
306func OrderAsc() OrderTermOption {

Callers 4

OrderByFluentFunction · 0.92
OrderByEdgeCountFunction · 0.92
OrderByEdgeTermsFunction · 0.92

Calls

no outgoing calls

Tested by 4

OrderByFluentFunction · 0.74
OrderByEdgeCountFunction · 0.74
OrderByEdgeTermsFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…