private function executeUpdate($query, array $params = array(), array $types = array())
    {
        $this->getEntityManager()
                ->getConnection()
                ->executeUpdate($query, $params, $types);

        return $this;
    }
private function executeUpdate($query, array $params = array(), array $types = array())
    {
        $this->getEntityManager()
                ->getConnection()
                ->executeUpdate($query, $params, $types);

        return $this;
    }
private function executeUpdate ( $ query , array $ params = array ( ) , array $ types = array ( ) ) { $ this -> getEntityManager ( ) -> getConnection ( ) -> executeUpdate ( $ query , $ params , $ types ) ; return $ this ; }
Executes an, optionally parameterized, SQL query.

@param string $query  The SQL query to execute
@param array  $params The parameters to bind to the query, if any
@param array  $types  The types the previous parameters are in

@return \BackBee\ClassContent\Repository\IndexationRepository
Executes an optionally parameterized SQL query .