public function unsetDataFor($arrIds)
    {
        $this->connection->createQueryBuilder()
            ->delete('tl_metamodel_rating')
            ->andWhere('mid=:mid AND aid=:aid AND iid IN (:iids)')
            ->setParameter('mid', $this->getMetaModel()->get('id'))
            ->setParameter('aid', $this->get('id'))
            ->setParameter('iids', $arrIds, Connection::PARAM_STR_ARRAY)
            ->execute();
    }
public function unsetDataFor($arrIds)
    {
        $this->connection->createQueryBuilder()
            ->delete('tl_metamodel_rating')
            ->andWhere('mid=:mid AND aid=:aid AND iid IN (:iids)')
            ->setParameter('mid', $this->getMetaModel()->get('id'))
            ->setParameter('aid', $this->get('id'))
            ->setParameter('iids', $arrIds, Connection::PARAM_STR_ARRAY)
            ->execute();
    }
public function unsetDataFor ( $ arrIds ) { $ this -> connection -> createQueryBuilder ( ) -> delete ( 'tl_metamodel_rating' ) -> andWhere ( 'mid=:mid AND aid=:aid AND iid IN (:iids)' ) -> setParameter ( 'mid' , $ this -> getMetaModel ( ) -> get ( 'id' ) ) -> setParameter ( 'aid' , $ this -> get ( 'id' ) ) -> setParameter ( 'iids' , $ arrIds , Connection :: PARAM_STR_ARRAY ) -> execute ( ) ; }
Delete all votes for the given items.

@param int[] $arrIds The ids of the items to remove votes for.

@return void
Delete all votes for the given items .