Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ desc
Method
desc
django/db/models/expressions.py:933–934 ·
view source on GitHub ↗
(self, **kwargs)
Source
from the content-addressed store, hash-verified
931
return
OrderBy(self, **kwargs)
932
933
def
desc(self, **kwargs):
934
return
OrderBy(self, descending=True, **kwargs)
935
936
def
__eq__(self, other):
937
return
self.__class__ == other.__class__ and self.name == other.name
Callers
15
get_ordering
Method · 0.45
update
Method · 0.45
find_ordering_name
Method · 0.45
BandAdmin
Class · 0.45
test_validate_ordered_expression
Method · 0.45
test_order_by_nulls_first_and_last
Method · 0.45
test_order_by_nulls_last
Method · 0.45
test_order_by_nulls_first
Method · 0.45
test_order_by_f_expression
Method · 0.45
test_order_by_f_expression_duplicates
Method · 0.45
test_order_by_case_when_constant_value
Method · 0.45
test_order_by_expr_query_reuse
Method · 0.45
Calls
1
OrderBy
Class · 0.85
Tested by
15
test_validate_ordered_expression
Method · 0.36
test_order_by_nulls_first_and_last
Method · 0.36
test_order_by_nulls_last
Method · 0.36
test_order_by_nulls_first
Method · 0.36
test_order_by_f_expression
Method · 0.36
test_order_by_f_expression_duplicates
Method · 0.36
test_order_by_case_when_constant_value
Method · 0.36
test_order_by_expr_query_reuse
Method · 0.36
test_nested_function_ordering
Method · 0.36
test_ordering
Method · 0.36
test_order_by
Method · 0.36
test_ordering_by_f_expression
Method · 0.36