Where
Definição da configuração do objeto Where para construção de condições nas consultas com o o objeto Query.
and
and(column: string, value: java.lang.Object) : Where
Description
Defines a condition with the conditional AND operator on the Where object.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
column | string | Column to which the condition will be applied. |
value | java.lang.Object | Condition value. |
Return
( Where )
Current Where object.
and(column: string, relationOperator: RelationOperator) : Where
Description
Defines a condition with the conditional AND operator on the Where object.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
column | string | Column to which the condition will be applied. |
relationOperator | RelationOperator | Condition relation operator. |
Return
( Where )
Current Where object.
and(where: Where) : Where
Description
Defines a second level conditions with the conditional AND operator on the Where object.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
where | Where | Where object of the next level. |
Return
( Where )
Current Where object.
getConditions
getConditions() : Config | Exec | Header | Req | Res | Values | DataSchema
Description
Returns the other nested conditions of the object.
Return
( Config | Exec | Header | Req | Res | Values | DataSchema )
The other nested conditions of the object.
getFirstCondition
getFirstCondition() : Condition
Description
Returns the base condition of the object.
Return
( Condition )
The base condition of the object.
getTable
getTable() : string
Description
Returns the name of the table to which the condition will be applied.
Return
( string )
The name of the table to which the condition will be applied.
or
or(column: string, value: java.lang.Object) : Where
Description
Defines a condition with the conditional OR operator on the Where object.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
column | string | Column to which the condition will be applied. |
value | java.lang.Object | Condition value. |
Return
( Where )
Current Where object.
or(column: string, relationOperator: RelationOperator) : Where
Description
Defines a condition with the conditional OR operator on the Where object.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
column | string | Column to which the condition will be applied. |
relationOperator | RelationOperator | Condition relation operator. |
Return
( Where )
Current Where object.
or(where: Where) : Where
Description
Defines a second level conditions with the conditional OR operator on the Where object.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
where | Where | Where object of the next level. |
Return
( Where )
Current Where object.
setConditions
setConditions(conditions: Config | Exec | Header | Req | Res | Values | DataSchema) : Where
Description
Defines the other nested conditions of the object.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
conditions | Config | Exec | Header | Req | Res | Values | DataSchema | The other nested conditions of the object. |
Return
( Where )
Current Where object.
setFirstCondition
setFirstCondition(firstCondition: Condition) : Where
Description
Defines the base condition of the object.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
firstCondition | Condition | The base condition of the object. |
Return
( Where )
Current Where object.
setTable
setTable(tableName: string) : Where
Description
Defines the name of the table to which the condition will be applied.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
tableName | string | The name of the table to which the condition will be applied. |
Return
( Where )
Current Where object.