Beispiel #1
0
 def get_indexed_columns(self, engine, table_name):
     indexed_columns = set()
     for index in db_utils.get_indexes(engine, table_name):
         for column_name in index['column_names']:
             indexed_columns.add(column_name)
     return indexed_columns
Beispiel #2
0
 def get_indexed_columns(self, engine, table_name):
     indexed_columns = set()
     for index in db_utils.get_indexes(engine, table_name):
         for column_name in index['column_names']:
             indexed_columns.add(column_name)
     return indexed_columns