code: def execute(self, sql):
          
          cursor = self.connection.cursor()
          try:
              cursor.execute(sql)
          finally:
              cursor.close()
docs: Execute arbitary SQL against the database.