mirror of
https://github.com/django/django.git
synced 2025-08-22 03:24:21 +00:00
Fixed #33817 -- Added support for python-oracledb and deprecated cx_Oracle.
This commit is contained in:
parent
59f13ce545
commit
9946f0b0d9
17 changed files with 80 additions and 50 deletions
|
@ -1036,7 +1036,7 @@ class Value(SQLiteNumericMixin, Expression):
|
|||
if hasattr(output_field, "get_placeholder"):
|
||||
return output_field.get_placeholder(val, compiler, connection), [val]
|
||||
if val is None:
|
||||
# cx_Oracle does not always convert None to the appropriate
|
||||
# oracledb does not always convert None to the appropriate
|
||||
# NULL type (like in case expressions using numbers), so we
|
||||
# use a literal SQL NULL
|
||||
return "NULL", []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue