Neos.ContentRepository/Classes/Domain/Repository/NodeDataRepository.php
public function removeAllInPath($path)
    {
        $path = strtolower($path);
        $query = $this->entityManager->createQuery('DELETE FROM Neos\ContentRepository\Domain\Model\NodeData n WHERE n.path LIKE :path');
        $query->setParameter('path', $path . '/%');
        $query->execute();
    }
public function removeAllInPath($path)
    {
        $path = strtolower($path);
        $query = $this->entityManager->createQuery('DELETE FROM Neos\ContentRepository\Domain\Model\NodeData n WHERE n.path LIKE :path');
        $query->setParameter('path', $path . '/%');
        $query->execute();
    }
public function removeAllInPath ( $ path ) { $ path = strtolower ( $ path ) ; $ query = $ this -> entityManager -> createQuery ( 'DELETE FROM Neos\ContentRepository\Domain\Model\NodeData n WHERE n.path LIKE :path' ) ; $ query -> setParameter ( 'path' , $ path . '/%' ) ; $ query -> execute ( ) ; }
Remove all nodes below a given path. Does not care about workspaces and dimensions.

@param string $path Starting point path underneath all nodes are to be removed.
@return void
Remove all nodes below a given path . Does not care about workspaces and dimensions .