public class PgSqlInfoUtil extends Object
| 构造器和说明 |
|---|
PgSqlInfoUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
buildBracketParams(List<String> args)
构建括号参数
|
List<PgSqlEntityColumn> |
getEntityColumns(Class<?> clas)
迭代出所有entity的所有fields
|
static String |
getIndexName(DbPgSqlIndex pgSqlIndex,
List<String> columns)
获取索引的名称,不设置则默认为索引类型+用_分隔的字段名计划
|
public List<PgSqlEntityColumn> getEntityColumns(Class<?> clas)
clas - 准备做为创建表依据的classpublic static String buildBracketParams(List<String> args)
args - 参数列表public static String getIndexName(DbPgSqlIndex pgSqlIndex, List<String> columns)
Copyright © 2023. All rights reserved.