类 MysqlTablesMapper
java.lang.Object
org.dromara.autotable.core.strategy.mysql.mapper.MysqlTablesMapper
创建更新表结构的Mapper
- 作者:
- don
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明findTableByTableName(String tableName) 根据表名查询表在库中是否存在findTableEnsembleByTableName(String tableName) 根据表名查询库中该表的字段结构等信息queryTablePrimaryAndIndex(String tableName) 查询指定表的所有主键和索引信息
-
构造器详细资料
-
MysqlTablesMapper
public MysqlTablesMapper()
-
-
方法详细资料
-
findTableByTableName
根据表名查询表在库中是否存在- 参数:
tableName- 表结构的map- 返回:
- InformationSchemaTable
-
findTableEnsembleByTableName
根据表名查询库中该表的字段结构等信息- 参数:
tableName- 表结构的map- 返回:
- 表的字段结构等信息
-
queryTablePrimaryAndIndex
查询指定表的所有主键和索引信息- 参数:
tableName- 表名- 返回:
- 所有主键和索引信息
-