eZ\Publish\Core\Persistence\Doctrine\DeleteDoctrineQuery::where PHP Метод

where() публичный Метод

where() accepts an arbitrary number of parameters. Each parameter must contain a logical expression or an array with logical expressions. where() could be invoked several times. All provided arguments added to the end of $whereString and form final WHERE clause of the query. If you specify multiple logical expression they are connected using a logical and. Example: $q->deleteFrom( 'MyTable' )->where( $q->eq( 'id', 1 ) );
public where ( ) : eZ\Publish\Core\Persistence\Database\DeleteQuery
Результат eZ\Publish\Core\Persistence\Database\DeleteQuery
    public function where()
    {
        $args = $this->parseArguments(func_get_args());
        foreach ($args as $whereExpression) {
            $this->where[] = $whereExpression;
        }
        return $this;
    }