LMongo\Query\Builder::getAndResetWheres PHP Method

getAndResetWheres() public method

Get a copy of the where clauses and reset.
public getAndResetWheres ( ) : array
return array
    public function getAndResetWheres()
    {
        $values = $this->wheres;
        $this->wheres = array();
        return $values;
    }
Builder