public function ExecuteMultiQuery($query)
    {
        $result = $this->db->multi_query($query);
        if ($result)
        {
            while ($this->db->next_result()) {;} //overgo the results!
        }
        if (!$result)
        {
            throw new DBExceptions\DatabaseException('Error in multi query', 101, $query);
        }
    }
public function ExecuteMultiQuery($query)
    {
        $result = $this->db->multi_query($query);
        if ($result)
        {
            while ($this->db->next_result()) {;} //overgo the results!
        }
        if (!$result)
        {
            throw new DBExceptions\DatabaseException('Error in multi query', 101, $query);
        }
    }
public function ExecuteMultiQuery ( $ query ) { $ result = $ this -> db -> multi_query ( $ query ) ; if ( $ result ) { while ( $ this -> db -> next_result ( ) ) { ; } //overgo the results! } if ( ! $ result ) { throw new DBExceptions \ DatabaseException ( 'Error in multi query' , 101 , $ query ) ; } }
Executes a multi query string; typically concatenated by semicolon
@param sring $query
@throws DBExceptions\DatabaseException Raises an exception in case of an error
Executes a multi query string ; typically concatenated by semicolon