GitXplorerGitXplorer
y

mypages

public
13 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
b850b70c7a5003365bb52a246a4579f1d5c0ed9e

[Update] MIT license

yyihleego committed 2 years ago
Unverified
d676b6d4a239692340d520ae6548dff935148936

[Release] Bump version from 2.2.0 to 2.2.1

yyihleego committed 3 years ago
Unverified
74eb1d90d71c1e606c62f62bc7c8ee1894cf1c21

[Fix] Avoid NPE when using `mybatis-plus`

yyihleego committed 3 years ago
Unverified
d5ad2a19c0d2f554dd5b3442a6608ceb4d095fae

[Release] Bump version from 2.1.0 to 2.2.0

yyihleego committed 3 years ago
Unverified
b105fe042e7b6fb0505273fa612a9d17f3e166b2

[Fix] Fix `@DisablePagination` does not work in some scenarios

yyihleego committed 3 years ago
Unverified
be49229cbb300d0570a1630a3e3840bde62f36d2

[Polish] Bump version from 2.0.0 to 2.1.0

yyihleego committed 3 years ago

README

The README file for this repository.

MyPages

MyPages is a java based, open source pagination plugin for MyBatis that simplifies database paging queries. Many databases, one plugin.

Installation

Please make sure the Java version is 1.8 or above.

$ git clone https://github.com/yihleego/mypages.git
$ cd mypages
$ mvn clean install

Dependency

Maven

<dependency>
    <groupId>io.leego</groupId>
    <artifactId>mypages</artifactId>
    <version>2.2.1</version>
</dependency>

Gradle

implementation 'io.leego:mypages:2.2.1'

Supported

Database
PostgreSQL PostgreSQL
MySQL MySQL
Oracle Oracle
Microsoft SQL Server Microsoft SQL Server
SQLite SQLite
DB2 DB2
H2 H2
MariaDB MariaDB
HSQLDB HSQLDB
Apache Phoenix Apache Phoenix
Apache Derby Apache Derby
Apache Hive Apache Hive
Informix Informix

ANTLR

ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It's widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build and walk parse trees.

Original SQL

select * from t where k = v

Query Statement Tree

Generated SQL

select count(*) from t where k = v

Count Statement Tree

Documentation

Chinese Document δΈ­ζ–‡η‰ˆ

Contact

License

MyPages is under the MIT license. See the LICENSE file for details.