Uses of Class
com.pugwoo.dbhelper.sql.WhereSQLForNamedParam
Packages that use WhereSQLForNamedParam
-
Uses of WhereSQLForNamedParam in com.pugwoo.dbhelper.sql
Methods in com.pugwoo.dbhelper.sql that return WhereSQLForNamedParamModifier and TypeMethodDescriptionWhereSQLForNamedParam.addGroupBy(String... groupByColumn) WhereSQLForNamedParam.addGroupByWithParam(String groupColumn, Map<String, ?> paramMap) WhereSQLForNamedParam.addOrderBy(String... orderByColumn) WhereSQLForNamedParam.addOrderByWithParam(String orderColumn, Map<String, ?> paramMap) WhereSQLForNamedParam.and(WhereSQLForNamedParam whereSQL) 功能同addAnd,注意:只会读取参数whereSQL的条件和参数,因此需要注意whereSQL里【不能】存在order/group by/limit等子句WhereSQLForNamedParam.andIf(boolean ifTrue, WhereSQLForNamedParam whereSQL) WhereSQLForNamedParam.copy()复制出一个新的WhereSQL对象,两个对象独立多次调用时,会覆盖前一次调用设置的值。不需要加HAVING关键字。WhereSQLForNamedParam.not()WhereSQLForNamedParam.notIf(boolean ifTrue) WhereSQLForNamedParam.or(WhereSQLForNamedParam whereSQL) 功能同addOr,注意:只会读取参数whereSQL的条件和参数,因此需要注意whereSQL里【不能】存在order/group by/limit等子句WhereSQLForNamedParam.orIf(boolean ifTrue, WhereSQLForNamedParam whereSQL) WhereSQLForNamedParam.resetGroupBy()WhereSQLForNamedParam.resetOrderBy()Methods in com.pugwoo.dbhelper.sql with parameters of type WhereSQLForNamedParamModifier and TypeMethodDescriptionWhereSQLForNamedParam.and(WhereSQLForNamedParam whereSQL) 功能同addAnd,注意:只会读取参数whereSQL的条件和参数,因此需要注意whereSQL里【不能】存在order/group by/limit等子句WhereSQLForNamedParam.andIf(boolean ifTrue, WhereSQLForNamedParam whereSQL) WhereSQLForNamedParam.or(WhereSQLForNamedParam whereSQL) 功能同addOr,注意:只会读取参数whereSQL的条件和参数,因此需要注意whereSQL里【不能】存在order/group by/limit等子句WhereSQLForNamedParam.orIf(boolean ifTrue, WhereSQLForNamedParam whereSQL)