Commit c35d2219 authored by Alexander Butenko's avatar Alexander Butenko

Added WHERE (NOT?) EXISTS condition support

parent 60723681
...@@ -759,6 +759,10 @@ class MysqliDb ...@@ -759,6 +759,10 @@ class MysqliDb
$this->_query .= " $key ? AND ? "; $this->_query .= " $key ? AND ? ";
$this->_bindParams ($val); $this->_bindParams ($val);
break; break;
case 'not exists':
case 'exists':
$this->_query.= $key . $this->_buildPair ("", $val);
break;
default: default:
$this->_query .= $this->_buildPair ($key, $val); $this->_query .= $this->_buildPair ($key, $val);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment