public interface SqlDialect
| 限定符和类型 | 字段和说明 |
|---|---|
static SqlDialect |
DEFAULT |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
buildColumnName(String category,
String tableName,
String columnName,
JDBCType jdbcType,
Class<?> javaType)
生成 where 中用到的条件名(包括 group by、order by)
|
default String |
buildLike(SqlLike likeType,
Object value) |
String |
buildSelect(String category,
String tableName,
String columnName,
JDBCType jdbcType,
Class<?> javaType)
生成 select 时的列信息
|
String |
buildTableName(String category,
String tableName)
生成 form 后面的表名
|
default BoundSql |
getCountSql(BoundSql boundSql)
生成 count 查询 SQL
|
BoundSql |
getPageSql(BoundSql boundSql,
int start,
int limit)
生成分页查询 SQL
|
static final SqlDialect DEFAULT
String buildSelect(String category, String tableName, String columnName, JDBCType jdbcType, Class<?> javaType)
String buildColumnName(String category, String tableName, String columnName, JDBCType jdbcType, Class<?> javaType)
Copyright © 2020–2021. All rights reserved.