|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Junction
Represents a Conjunction or a Disjunction.
Basically with a Conjunction you join together many expressions with AND, and with a Disjunction you join together many expressions with OR.
Query q = Ebean.createQuery(Person.class); q.where().disjunction() .add(Expr.like("name","Rob%")) .add(Expr.eq("status",Status.NEW))
Query.where()
,
ExpressionList.conjunction()
,
ExpressionList.disjunction()
Method Summary | |
---|---|
Junction |
add(Expression expression)
Add an expression to the Conjunction/Disjunction. |
Method Detail |
---|
Junction add(Expression expression)
ExpressionList.conjunction()
,
ExpressionList.disjunction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |