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 @@ -12,6 +12,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
12
12
greatest_least_ignores_nulls = True
13
13
has_json_object_function = False
14
14
has_native_json_field = True
15
+ rounds_to_even = True
15
16
supports_boolean_expr_in_select_clause = True
16
17
supports_collation_on_charfield = False
17
18
supports_column_check_constraints = False
@@ -56,8 +57,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
56
57
# Pattern lookups that use regexMatch don't work on JSONField:
57
58
# Unsupported conversion from array to string in $convert
58
59
"model_fields.test_jsonfield.TestQuerying.test_icontains" ,
59
- # MongoDB gives ROUND(365, -1)=360 instead of 370 like other databases.
60
- "db_functions.math.test_round.RoundTests.test_integer_with_negative_precision" ,
61
60
# Truncating in another timezone doesn't work becauase MongoDB converts
62
61
# the result back to UTC.
63
62
"db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests.test_trunc_func_with_timezone" ,
You can’t perform that action at this time.
0 commit comments