@Inherited
@Target(value={TYPE,ANNOTATION_TYPE})
@Retention(value=RUNTIME)
public @interface Where
Table subclass, SqlOperation or within Wheres annotation.| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
name
Name of where condition.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String[] |
fieldNames
Define condition where all fields in the condition use "=" comparison operator and
are joined logically by "AND" boolean operator.
|
WhereField[] |
whereFields
Define condition where one or more fields use comparison operator or boolean operator other
than the defaults.
|
public abstract java.lang.String name
SqlOperation.setWhere(String)public abstract java.lang.String[] fieldNames
whereFields().public abstract WhereField[] whereFields
fieldNames().