diff options
author | Tufan Barış YILDIRIM <tufanbarisyildirim@gmail.com> | 2013-12-19 20:06:39 +0100 |
---|---|---|
committer | Tufan Barış YILDIRIM <tufanbarisyildirim@gmail.com> | 2013-12-19 20:06:39 +0100 |
commit | f1cceaa271fe86e68e0dfc3181d4b39ce4e5f846 (patch) | |
tree | 12bf4fe8810b4815c930469cb58cb566d140845b | |
parent | 0f0e6adee7d3edf45fbadf5ec01505a46d70760d (diff) | |
parent | 72109068e391d67729d92d23ca47bd6373e64363 (diff) |
EXISTS / NOT EXISTS clause support for DB_driver
-rw-r--r-- | system/database/DB_driver.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index ec3de7e6e..ffee74df7 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -1446,9 +1446,9 @@ abstract class CI_DB_driver { '\s*<>?\s*', // <, <> '\s*>\s*', // > '\s+IS NULL', // IS NULL - '\s+IS NOT NULL', // IS NOT NULL - '\s+EXISTS', // EXISTS - '\s+NOT EXISTS', // NOT EXISTS + '\s+IS NOT NULL', // IS NOT NULL + '\s+EXISTS', // EXISTS + '\s+NOT EXISTS', // NOT EXISTS '\s+BETWEEN\s+\S+\s+AND\s+\S+', // BETWEEN value AND value '\s+IN\s*\([^\)]+\)', // IN(list) '\s+NOT IN\s*\([^\)]+\)', // NOT IN (list) |