com.todoroo.andlib.sql
Class QueryTemplate
java.lang.Object
com.todoroo.andlib.sql.QueryTemplate
public final class QueryTemplate
- extends java.lang.Object
Query Template returns a bunch of criteria that allows a query to be
constructed
- Author:
- Tim Su
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QueryTemplate
public QueryTemplate()
join
public QueryTemplate join(Join... join)
where
public QueryTemplate where(Criterion criterion)
groupBy
public QueryTemplate groupBy(Field... groupBy)
orderBy
public QueryTemplate orderBy(Order... order)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
having
public QueryTemplate having(Criterion criterion)
limit
public QueryTemplate limit(int limitValue)