We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4041517 commit 310ab85Copy full SHA for 310ab85
django_mongodb_backend/expressions/builtins.py
@@ -247,6 +247,7 @@ def register_expressions():
247
NegatedExpression.as_mql_expr = negated_expression
248
OrderBy.as_mql_expr = partialmethod(order_by, as_expr=True)
249
OrderBy.as_mql_path = partialmethod(order_by, as_expr=False)
250
+ OrderBy.can_use_path = True
251
Query.as_mql = query
252
RawSQL.as_mql = raw_sql
253
Ref.as_mql = ref
0 commit comments