public function deleteAll($conditions)
    {
        $target = $this->getTarget();
        $expression = $target->query()
            ->where($this->getConditions())
            ->where($conditions)
            ->clause('where');

        return $target->deleteAll($expression);
    }
public function deleteAll($conditions)
    {
        $target = $this->getTarget();
        $expression = $target->query()
            ->where($this->getConditions())
            ->where($conditions)
            ->clause('where');

        return $target->deleteAll($expression);
    }
public function deleteAll ( $ conditions ) { $ target = $ this -> getTarget ( ) ; $ expression = $ target -> query ( ) -> where ( $ this -> getConditions ( ) ) -> where ( $ conditions ) -> clause ( 'where' ) ; return $ target -> deleteAll ( $ expression ) ; }
Proxies the delete operation to the target table's deleteAll method

@param mixed $conditions Conditions to be used, accepts anything Query::where()
can take.
@return int Returns the number of affected rows.
@see \Cake\ORM\Table::deleteAll()
Proxies the delete operation to the target table s deleteAll method