File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
14
14
greatest_least_ignores_nulls = True
15
15
has_json_object_function = False
16
16
has_native_json_field = True
17
+ rounds_to_even = True
17
18
supports_boolean_expr_in_select_clause = True
18
19
supports_collation_on_charfield = False
19
20
supports_column_check_constraints = False
@@ -62,8 +63,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
62
63
# Pattern lookups that use regexMatch don't work on JSONField:
63
64
# Unsupported conversion from array to string in $convert
64
65
"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" ,
67
66
# Truncating in another timezone doesn't work becauase MongoDB converts
68
67
# the result back to UTC.
69
68
"db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests.test_trunc_func_with_timezone" ,
You can’t perform that action at this time.
0 commit comments