private function deleteRow(int $parentId, string $textMD5): int
    {
        $queryBuilder = $this->connection->createQueryBuilder();
        $expr = $queryBuilder->expr();
        $queryBuilder
            ->delete($this->table)
            ->where(
                $expr->andX(
                    $expr->eq(
                        'parent',
                        $queryBuilder->createPositionalParameter($parentId, ParameterType::INTEGER)
                    ),
                    $expr->eq(
                        'text_md5',
                        $queryBuilder->createPositionalParameter($textMD5)
                    )
                )
            );

        return $queryBuilder->execute();
    }
private function deleteRow(int $parentId, string $textMD5): int
    {
        $queryBuilder = $this->connection->createQueryBuilder();
        $expr = $queryBuilder->expr();
        $queryBuilder
            ->delete($this->table)
            ->where(
                $expr->andX(
                    $expr->eq(
                        'parent',
                        $queryBuilder->createPositionalParameter($parentId, ParameterType::INTEGER)
                    ),
                    $expr->eq(
                        'text_md5',
                        $queryBuilder->createPositionalParameter($textMD5)
                    )
                )
            );

        return $queryBuilder->execute();
    }
private function deleteRow ( int $ parentId , string $ textMD5 ) : int { $ queryBuilder = $ this -> connection -> createQueryBuilder ( ) ; $ expr = $ queryBuilder -> expr ( ) ; $ queryBuilder -> delete ( $ this -> table ) -> where ( $ expr -> andX ( $ expr -> eq ( 'parent' , $ queryBuilder -> createPositionalParameter ( $ parentId , ParameterType :: INTEGER ) ) , $ expr -> eq ( 'text_md5' , $ queryBuilder -> createPositionalParameter ( $ textMD5 ) ) ) ) ; return $ queryBuilder -> execute ( ) ; }
Delete URL alias row by its primary composite key.

@param int $parentId
@param string $textMD5

@return int number of affected rows
Delete URL alias row by its primary composite key .