public function deleteNodeData($nodeId)
    {
        $query = $this->getEntityManager()->createQuery('DELETE FROM YdleHubBundle:NodeData d WHERE d.node = :node')->setParameter('node', $nodeId);
        
        return $query->execute();
    }
public function deleteNodeData($nodeId)
    {
        $query = $this->getEntityManager()->createQuery('DELETE FROM YdleHubBundle:NodeData d WHERE d.node = :node')->setParameter('node', $nodeId);
        
        return $query->execute();
    }
public function deleteNodeData ( $ nodeId ) { $ query = $ this -> getEntityManager ( ) -> createQuery ( 'DELETE FROM YdleHubBundle:NodeData d WHERE d.node = :node' ) -> setParameter ( 'node' , $ nodeId ) ; return $ query -> execute ( ) ; }
Delete all data for a specific node

@param integer $nodeId
@return integer
Delete all data for a specific node