def METHOD_NAME(self, query: str) -> StatusResponse:
    """
    Receive raw query and act upon it somehow.
    Args:
        query (str): query in native format
    Returns:
        HandlerResponse
    """
    need_to_close = self.is_connected is False
    connection = self.connect()
    with connection.cursor() as cursor:
        try:
            cursor.execute(query)
            result = cursor.fetchall()
            if result:
                response = Response(
                    RESPONSE_TYPE.TABLE,
                    data_frame=pd.DataFrame.from_records(
                        result,
                        columns=[x[0] for x in cursor.description]
                    )
                )
            else:
                response = Response(RESPONSE_TYPE.OK)
                connection.commit()
        except Exception as e:
            log.logger.error(f'Error running query: {query} on {self.connection_data["db_file"]}!')
            response = Response(
                RESPONSE_TYPE.ERROR,
                error_message=str(e)
            )
    if need_to_close is True:
        self.disconnect()
    return response