Skip to content

Commit 9410603

Browse files
timnyborgTim Nyborg
authored andcommitted
mark supports_order_by_nulls_modifier unsupported
The backend has an existing replacement, using CASE flag order_by_nulls_first feature as true Prevents erroneous attempts to order by "field IS NULL"
1 parent 00bbdca commit 9410603

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mssql/features.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ class DatabaseFeatures(BaseDatabaseFeatures):
2121
has_select_for_update_skip_locked = True
2222
ignores_table_name_case = True
2323
ignores_quoted_identifier_case = True
24+
order_by_nulls_first = True
2425
requires_literal_defaults = True
2526
requires_sqlparse_for_splitting = False
2627
supports_boolean_expr_in_select_clause = False
2728
supports_deferrable_unique_constraints = False
2829
supports_ignore_conflicts = False
2930
supports_index_on_text_field = False
3031
supports_json_field = False
32+
supports_order_by_nulls_modifier = False
3133
supports_paramstyle_pyformat = False
3234
supports_regex_backreferencing = True
3335
supports_sequence_reset = False

0 commit comments

Comments
 (0)