def commit(self):
    'Method commits transaction\n\n        Args:\n           none   \n\n        Returns:\n           void\n\n        Raises:\n           exception: DBODriverException\n\n        '
    if (type(self._dbcon).__name__.lower() == 'connection'):
        self._dbcon.commit()
    else:
        raise dbodriver.DBODriverException('Not connected')
Method commits transaction

Args:
   none   

Returns:
   void

Raises:
   exception: DBODriverException
def commit(self):
    'Method commits transaction\n\n        Args:\n           none   \n\n        Returns:\n           void\n\n        Raises:\n           exception: DBODriverException\n\n        '
    if (type(self._dbcon).__name__.lower() == 'connection'):
        self._dbcon.commit()
    else:
        raise dbodriver.DBODriverException('Not connected')