Skip to content

Commit c35d221

Browse files
committed
Added WHERE (NOT?) EXISTS condition support
1 parent 6072368 commit c35d221

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

MysqliDb.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,10 @@ protected function _buildWhere () {
759759
$this->_query .= " $key ? AND ? ";
760760
$this->_bindParams ($val);
761761
break;
762+
case 'not exists':
763+
case 'exists':
764+
$this->_query.= $key . $this->_buildPair ("", $val);
765+
break;
762766
default:
763767
$this->_query .= $this->_buildPair ($key, $val);
764768
}

0 commit comments

Comments
 (0)