play.db.helper
Class SqlQuery
java.lang.Object
play.db.helper.SqlQuery
- Direct Known Subclasses:
- SqlSelect, SqlUnion
public abstract class SqlQuery
- extends java.lang.Object
Field Summary |
protected java.util.List<java.lang.Object> |
params
|
Constructor Summary |
protected |
SqlQuery()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
params
protected java.util.List<java.lang.Object> params
SqlQuery
protected SqlQuery()
param
public SqlQuery param(java.lang.Object obj)
params
public SqlQuery params(java.lang.Object... objs)
getParams
public java.util.List<java.lang.Object> getParams()
paramCurrentIndex
public int paramCurrentIndex()
pmark
public java.lang.String pmark()
pmark
public java.lang.String pmark(int offset)
quote
public static java.lang.String quote(java.lang.String str)
inlineParam
public static java.lang.String inlineParam(java.lang.Object param)
whereIn
public static java.lang.String whereIn(java.lang.String column,
java.lang.Object param)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly