private String buildPageSQL ( String sql , PageRow pageRow ) { SQLParams sqlParams = SQLParams . builder ( ) . modelClass ( this . modelClass ) . selectColumns ( this . selectColumns ) . tableName ( this . tableName ) . pkName ( this . primaryKeyColumn ) . conditionSQL ( this . conditionSQL ) . excludedColumns ( this . excludedColumns ) . customSQL ( sql ) . orderBy ( this . orderBySQL . toString ( ) ) . pageRow ( pageRow ) . build ( ) ; return Anima . of ( ) . dialect ( ) . paginate ( sqlParams ) ; }
Build a paging statement