fixes #596. Added suggested patch
This commit is contained in:
parent
554b961a65
commit
95792cdb17
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user