/** * Adds the given conditions to the where clause using an logical OR. To create new conditions, * use the properties given in the generated dao classes. */ public QueryBuilder<T> whereOr( WhereCondition cond1, WhereCondition cond2, WhereCondition... condMore) { whereCollector.add(or(cond1, cond2, condMore)); return this; }
/** * Adds the given conditions to the where clause using an logical AND. To create new conditions, * use the properties given in the generated dao classes. */ public QueryBuilder<T> where(WhereCondition cond, WhereCondition... condMore) { whereCollector.add(cond, condMore); return this; }