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. |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
client.py | ||
creation.py | ||
features.py | ||
functions.py | ||
introspection.py | ||
operations.py | ||
schema.py | ||
utils.py | ||
validation.py |