File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
1414 greatest_least_ignores_nulls = True
1515 has_json_object_function = False
1616 has_native_json_field = True
17+ rounds_to_even = True
1718 supports_boolean_expr_in_select_clause = True
1819 supports_collation_on_charfield = False
1920 supports_column_check_constraints = False
@@ -62,8 +63,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
6263 # Pattern lookups that use regexMatch don't work on JSONField:
6364 # Unsupported conversion from array to string in $convert
6465 "model_fields.test_jsonfield.TestQuerying.test_icontains" ,
65- # MongoDB gives ROUND(365, -1)=360 instead of 370 like other databases.
66- "db_functions.math.test_round.RoundTests.test_integer_with_negative_precision" ,
6766 # Truncating in another timezone doesn't work becauase MongoDB converts
6867 # the result back to UTC.
6968 "db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests.test_trunc_func_with_timezone" ,
You can’t perform that action at this time.
0 commit comments