1
0
mirror of synced 2024-12-14 23:26:04 +03:00

fixes #596. Added suggested patch

This commit is contained in:
meus 2007-11-18 12:37:46 +00:00
parent 554b961a65
commit 95792cdb17

View File

@ -104,6 +104,20 @@ abstract class Doctrine_Query_Abstract extends Doctrine_Hydrate
return $this->parseQueryPart('where', $where, true); return $this->parseQueryPart('where', $where, true);
} }
/**
* whereNotIn
* adds NOT IN condition to the query WHERE part
*
* @param string $expr the operand of the NOT IN
* @param mixed $params an array of parameters or a simple scalar
* @return Doctrine_Query
*/
public function whereNotIn($expr, $params = array())
{
return $this->whereIn($expr, $params, true);
}
/** /**
* addGroupBy * addGroupBy
* adds fields to the GROUP BY part of the query * adds fields to the GROUP BY part of the query