public interface Dialect
| 限定符和类型 | 字段和说明 |
|---|---|
static Pattern |
REPLACE_ORDER_BY |
| 限定符和类型 | 方法和说明 |
|---|---|
default String |
getCountSql(String sql)
获取查总数的sql
|
String |
getPageSql(String sql,
BoundSql boundSql,
long offset,
long limit)
获取分页sql
|
default boolean |
match(Connection connection)
根据Connection匹配
|
default boolean |
match(String jdbcUrl)
根据jdbcUrl匹配
|
static final Pattern REPLACE_ORDER_BY
default boolean match(String jdbcUrl)
jdbcUrl - jdbc链接default boolean match(Connection connection) throws SQLException
connection - jdbc连接SQLException - 匹配失败时抛出的异常Copyright © 2020–2021. All rights reserved.