django1/django/db/backends/oracle
Simon Charette efa1908f66 Refs #25367 -- Moved Oracle Exists() handling to contextual methods.
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.
2019-08-13 06:48:14 +02:00
..
__init__.py Added half of oracle backend. (The other half is all of the special-casing in django/db/models/query.py, which I will be refactoring.) Refs #1990. Thanks, Jason Huggins and tzellman 2006-05-26 05:37:21 +00:00
base.py Fixed #30661 -- Added models.SmallAutoField. 2019-08-02 11:39:01 +02:00
client.py Fixed #29534 -- Made dbshell use rlwrap on Oracle if available. 2018-10-25 19:39:42 -04:00
creation.py Fixed #30184 -- Removed ellipsis characters from shell output strings. 2019-02-13 13:59:44 -05:00
features.py Refs #25367 -- Moved Oracle Exists() handling to contextual methods. 2019-08-13 06:48:14 +02:00
functions.py Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments. 2017-02-01 11:41:56 -05:00
introspection.py Fixed #30661 -- Added models.SmallAutoField. 2019-08-02 11:39:01 +02:00
operations.py Fixed #30661 -- Added models.SmallAutoField. 2019-08-02 11:39:01 +02:00
schema.py Fixed #30661 -- Added models.SmallAutoField. 2019-08-02 11:39:01 +02:00
utils.py Refs #29444 -- Added support for fetching a returned non-integer insert values on Oracle. 2019-07-08 08:53:08 +02:00
validation.py Fixed #27859 -- Ignored db_index for TextField/BinaryField on Oracle and MySQL. 2017-05-23 17:02:40 +02:00