| Constructor and Description |
|---|
Database() |
| Modifier and Type | Method and Description |
|---|---|
JavaType |
getJavaType(@NonNull JdbcType jdbcType)
获取 jdbcType 对应的 javaType
|
JdbcConnection |
getJdbcConnection() |
Set<TableRule> |
getRules()
获取表信息
|
Collection<Table> |
getTables(@NonNull Context context) |
boolean |
isKeyword(String word)
是否为关键字
|
String |
wrapKeyword(String word)
包装关键字
|
public Collection<Table> getTables(@NonNull @NonNull Context context)
public JavaType getJavaType(@NonNull @NonNull JdbcType jdbcType)
jdbcType - 数据库字段类型public boolean isKeyword(String word)
word - public JdbcConnection getJdbcConnection()
Copyright © 2023. All rights reserved.