Skip to main content

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
NAMETYPEDESCRIPTION
joinTypeorg.netuno.tritao.db.form.join.JoinTypeThe type of the joint.
Return

( Join )

Current Join object.


setRelation


setRelation(ralation: Relationship) : Join

Description

Defines the object with the relationship configuration.

Attributes
NAMETYPEDESCRIPTION
ralationRelationshipThe 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
NAMETYPEDESCRIPTION
tableNamestringThe 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
NAMETYPEDESCRIPTION
whereWhereThe Where object with the configuration of conditions
Return

( Join )

Current Join object.