public interface IDatabaseDialect
| 限定符和类型 | 方法和说明 |
|---|---|
String |
generateCountSql(String selectSql,
Object parameterObject,
org.apache.ibatis.mapping.BoundSql boundSql,
org.apache.ibatis.mapping.MappedStatement ms,
QueryBuilder<?> queryBuilder) |
String |
generatePaginationSql(String selectSql,
List<org.apache.ibatis.mapping.ParameterMapping> parameterMappingList,
org.apache.ibatis.mapping.BoundSql boundSql,
org.apache.ibatis.mapping.MappedStatement ms,
QueryBuilder<?> queryBuilder) |
DialectProperty |
getProperty() |
Boolean |
skipSelectIfCountZero()
分页查询时,当总条数count为0时,跳过执行原有select查询,默认true:不继续执行,利于提高性能
|
DialectProperty getProperty()
String generateCountSql(String selectSql, Object parameterObject, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.mapping.MappedStatement ms, QueryBuilder<?> queryBuilder)
String generatePaginationSql(String selectSql, List<org.apache.ibatis.mapping.ParameterMapping> parameterMappingList, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.mapping.MappedStatement ms, QueryBuilder<?> queryBuilder)
Boolean skipSelectIfCountZero()
Copyright © 2020. All rights reserved.