original_docstring: 
          Delete a row from a table, the where clause is optional, but if left empty then everything from the table will be deleted.
          
docstring: Delete a row from a table, the where clause is optional, but if left empty then everything from the table will be deleted.
docstring_tokens: Delete a row from a table the where clause is optional but if left empty then everything from the table will be deleted .
code: def delete_row(self,tableName : str, clauses : str =  None):
          """
          Delete a row from a table, the where clause is optional, but if left empty then everything from the table will be deleted.
          """
          try:
              dataBase = connect(
                  host = self.host,
                  user = self.userName,
                  passwd = self.passwrd,
                  database = self.database
              )
              cursor = dataBase.cursor()
              
              if clauses == None:
                  query = 'DELETE FROM ' + tableName
              else:
                  query = 'DELETE FROM ' + tableName + ' ' + clauses
  
              cursor.execute(query)
              
              dataBase.commit()
              dataBase.close()
              return 'Row(s) deleted!'
          except Exception as error:
              raise MySQLerrorTypes.delete_row_error(error)
code_tokens: def delete_row ( self , tableName : str , clauses : str = None ) : try : dataBase = connect ( host = self . host , user = self . userName , passwd = self . passwrd , database = self . database ) cursor = dataBase . cursor ( ) if clauses == None : query = 'DELETE FROM ' + tableName else : query = 'DELETE FROM ' + tableName + ' ' + clauses cursor . execute ( query ) dataBase . commit ( ) dataBase . close ( ) return 'Row(s) deleted!' except Exception as error : raise MySQLerrorTypes . delete_row_error ( error )
short_docstring: Delete a row from a table, the where clause is optional, but if left empty then everything from the table will be deleted.
short_docstring_tokens: Delete a row from a table the where clause is optional but if left empty then everything from the table will be deleted .
comment: """
          Delete a row from a table, the where clause is optional, but if left empty then everything from the table will be deleted.
          """