Class PostgreSql

All Implemented Interfaces:
Dialect

public class PostgreSql extends AbstractPaging
数据库方言 postgresql
Since:
Java 17+
Author:
Kimi Liu
  • Constructor Details

    • PostgreSql

      public PostgreSql()
  • Method Details

    • processPageParameter

      public Object processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String,Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey)
      Description copied from class: AbstractPaging
      处理分页参数
      Specified by:
      processPageParameter in class AbstractPaging
      Parameters:
      ms - MappedStatement
      paramMap - Map
      page - Page
      boundSql - BoundSql
      pageKey - CacheKey
      Returns:
      结果
    • getPageSql

      public String getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey)
      构建 PostgreSQL分页查询语句
      Specified by:
      getPageSql in class AbstractPaging
      Parameters:
      sql - sql
      page - Page
      pageKey - CacheKey
      Returns:
      the string