public interface Dialect
Modifier and Type | Method and Description |
---|---|
String |
buildSqlFuction(String sql)
Deprecated.
|
String |
buildSqlFunction(String sql)
返回经过方言函数解析后的sql
|
String |
getCurrentDate() |
String |
getLimitString(String sql,
int start,
int limit)
获取分页查询sql
|
int |
getNextKey()
主键是自增时,获取下一个自增的下一个主键
|
boolean |
supportsLimit()
是否支持分页
|
boolean supportsLimit()
String getLimitString(String sql, int start, int limit)
sql
- 查询sqlstart
- 分页查询起始行数limit
- 分页查询每页条数int getNextKey()
String getCurrentDate()
@Deprecated String buildSqlFuction(String sql)
sql
- Copyright © 2006–2018 TinyGroup. All rights reserved.