Lines Matching refs:table
32 @param mapping a dictionary of orig_name => new_name. Any table not matching
35 check_exists(manager, (table for table, _ in mapping.iteritems()),
38 manager.execute('RENAME TABLE `%s` TO `%s`' % (orig_name, new_name))
45 If a table does not exist in the source database, this method fails without
53 for table in tables:
54 manager.execute('RENAME TABLE `%(db)s`.`%(table)s` TO `%(table)s`'
55 % dict(db=src_manager.get_db_name(), table=table))
74 @param names the table/view names
75 @param type one of 'TABLE' or 'VIEW'
97 Checks if a particular index exists on the table
100 @param table_name the table to check