Package com.alibaba.druid.sql
Class PagerUtils
java.lang.Object
com.alibaba.druid.sql.PagerUtils
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PagerUtils
public PagerUtils()
-
-
Method Details
-
count
-
limit
-
limit
-
limit
-
limit
-
getLimit
Retrieves the limit value from the provided SQL query string based on the specified database type.- Parameters:
sql- the SQL query stringdbType- the database type for parsing the SQL query- Returns:
- the limit value extracted from the SQL query, or -1 if the query does not have a valid limit clause
-
hasUnorderedLimit
-