(self)
Commit changes on database and closes connection
Commit changes on database and closes connection
Commit changes on database and closes connection
def commitAndClose(self):
      """ Commit changes on database and closes connection """
      self.commit()
      self.close()
def commitAndClose ( self ) : self . commit ( ) self . close ( )