com.todoroo.andlib.sql
Class Functions
java.lang.Object
com.todoroo.andlib.sql.Functions
public final class Functions
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Functions
public Functions()
caseStatement
public static java.lang.String caseStatement(Criterion when,
java.lang.Object ifTrue,
java.lang.Object ifFalse)
upper
public static Field upper(Field title)
now
public static Field now()
- Returns:
- SQL now (in milliseconds)
fromNow
public static Field fromNow(long millis)
cast
public static Field cast(Field field,
java.lang.String newType)
max
public static Field max(Field field)
count
public static Field count()
length
public static Field length(Property.StringProperty field)