Join
Definição da configuração do objeto Join para consultas simplificadas.
getJoinType
getJoinType() : org.netuno.tritao.db.form.join.JoinType
Description
Returns the type of the joint or the relationship.
Return
( org.netuno.tritao.db.form.join.JoinType )
The type of the joint
getRelation
getRelation() : Relationship
Description
Returns the object with the relationship configuration.
Return
( Relationship )
The object with the relationship configuration.
getTable
getTable() : string
Description
Returns the name of the relationship's main table.
Return
( string )
The name of the relationship's main table.
getWhere
getWhere() : Where
Description
Returns the Where object with the configuration of conditions for the table to be related.
Return
( Where )
The Where object with the configuration of conditions
setJoinType
setJoinType(joinType: org.netuno.tritao.db.form.join.JoinType) : Join
Description
Defines the type of the joint or the relationship.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
joinType | org.netuno.tritao.db.form.join.JoinType | The type of the joint. |
Return
( Join )
Current Join object.
setRelation
setRelation(ralation: Relationship) : Join
Description
Defines the object with the relationship configuration.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
ralation | Relationship | The object with the relationship configuration. |
Return
( Join )
Current Join object.
setTable
setTable(tableName: string) : Join
Description
Defines the name of the relationship's main table.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
tableName | string | The name of the query's main table. |
Return
( Join )
Current Join object.
setWhere
setWhere(where: Where) : Join
Description
Defines the Where object with the configuration of conditions for the table to be related.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
where | Where | The Where object with the configuration of conditions |
Return
( Join )
Current Join object.