public function setIndexedNull(array $comments = null) { $this->getEntityManager()->createQuery('UPDATE Newscoop\\Entity\\Comment c SET c.indexed = NULL')->execute(); }