original_docstring: 
          Drops a table from the database, automatically checks whether the table exists or not. The check can be turned off by setting check_if_exists to false.
          
docstring: Drops a table from the database, automatically checks whether the table exists or not. The check can be turned off by setting check_if_exists to false.
docstring_tokens: Drops a table from the database automatically checks whether the table exists or not . The check can be turned off by setting check_if_exists to false .
code: def delete_table(self,tableName: str,check_if_exists : bool = True):
          """
          Drops a table from the database, automatically checks whether the table exists or not. The check can be turned off by setting check_if_exists to false.
          """
          try:
              dataBase = connect(
                  host = self.host,
                  user = self.userName,
                  passwd = self.passwrd,
                  database = self.database
              )
              cursor = dataBase.cursor()
  
              delete_table_string = check_if_exists == True and 'DROP TABLE IF EXISTS' or 'DROP TABLE'
              cursor.execute(delete_table_string + ' ' + tableName)
  
              dataBase.close()
              return 'Table dropped!'
          except Exception as error:
              raise MySQLerrorTypes.delete_table_error(error)
code_tokens: def delete_table ( self , tableName : str , check_if_exists : bool = True ) : try : dataBase = connect ( host = self . host , user = self . userName , passwd = self . passwrd , database = self . database ) cursor = dataBase . cursor ( ) delete_table_string = check_if_exists == True and 'DROP TABLE IF EXISTS' or 'DROP TABLE' cursor . execute ( delete_table_string + ' ' + tableName ) dataBase . close ( ) return 'Table dropped!' except Exception as error : raise MySQLerrorTypes . delete_table_error ( error )
short_docstring: Drops a table from the database, automatically checks whether the table exists or not.
short_docstring_tokens: Drops a table from the database automatically checks whether the table exists or not .
comment: """
          Drops a table from the database, automatically checks whether the table exists or not. The check can be turned off by setting check_if_exists to false.
          """