(self, dbColumns, colConsider, dbs)
Adds information about the columns
Adds information about the columns
Adds information about the columns
def dbColumns(self, dbColumns, colConsider, dbs):
        '''
        Adds information about the columns
        '''
        for column in dbColumns.keys():
            printDbs = {}
            for db, tblData in dbs.items():
                for tbl, colData in tblData.items():
                    for col, dataType in colData.items():
                        if column in col:
                            if db in printDbs:
                                if tbl in printDbs[db]:
                                    printDbs[db][tbl][col] = dataType
                                else:
                                    printDbs[db][tbl] = {col: dataType}
                            else:
                                printDbs[db] = {}
                                printDbs[db][tbl] = {col: dataType}

                            continue

        self.dbTableColumns(printDbs)
def dbColumns ( self , dbColumns , colConsider , dbs ) : for column in dbColumns . keys ( ) : printDbs = { } for db , tblData in dbs . items ( ) : for tbl , colData in tblData . items ( ) : for col , dataType in colData . items ( ) : if column in col : if db in printDbs : if tbl in printDbs [ db ] : printDbs [ db ] [ tbl ] [ col ] = dataType else : printDbs [ db ] [ tbl ] = { col : dataType } else : printDbs [ db ] = { } printDbs [ db ] [ tbl ] = { col : dataType } continue self . dbTableColumns ( printDbs )