efa1908f66
Oracle requires the EXISTS expression to be wrapped in a CASE WHEN in the following cases. 1. When part of a SELECT clause. 2. When part of a ORDER BY clause. 3. When compared against another expression in the WHERE clause. This commit moves the systematic CASE WHEN wrapping of Exists.as_oracle to contextual .select_format, Lookup.as_oracle, and OrderBy.as_oracle methods in order to avoid unnecessary wrapping. |
||
---|---|---|
.. | ||
base | ||
dummy | ||
mysql | ||
oracle | ||
postgresql | ||
sqlite3 | ||
__init__.py | ||
ddl_references.py | ||
signals.py | ||
utils.py |