Changeset 3534

Show
Ignore:
Timestamp:
01/17/08 12:37:49 (18 months ago)
Author:
pookey
Message:

backporting whereNotIn from trunk

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.9/lib/Doctrine/Query/Abstract.php

    r3503 r3534  
    106106 
    107107    /** 
     108     * whereNotIn 
     109     * adds NOT IN condition to the query WHERE part 
     110     * 
     111     * @param string $expr          the operand of the NOT IN 
     112     * @param mixed $params         an array of parameters or a simple scalar 
     113     * @return Doctrine_Query 
     114     */ 
     115    public function whereNotIn($expr, $params = array()) 
     116    { 
     117        return $this->whereIn($expr, $params, true); 
     118    }  
     119 
     120    /** 
    108121     * addGroupBy 
    109122     * adds fields to the GROUP BY part of the query