class Join (View source)

Expression class for DQL join.

Constants

INNER_JOIN

LEFT_JOIN

ON

WITH

Properties

protected string $joinType
protected string $join
protected string $alias
protected string $conditionType
protected string $condition
protected string $indexBy

Methods

__construct(string $joinType, string $join, string|null $alias = null, string|null $conditionType = null, string|null $condition = null, string|null $indexBy = null)

No description

string
getJoinType()

No description

string
getJoin()

No description

string
getAlias()

No description

string
getConditionType()

No description

string
getCondition()

No description

string
getIndexBy()

No description

string
__toString()

No description

Details

__construct(string $joinType, string $join, string|null $alias = null, string|null $conditionType = null, string|null $condition = null, string|null $indexBy = null)

Parameters

string $joinType The condition type constant. Either INNER_JOIN or LEFT_JOIN.
string $join The relationship to join.
string|null $alias The alias of the join.
string|null $conditionType The condition type constant. Either ON or WITH.
string|null $condition The condition for the join.
string|null $indexBy The index for the join.

string getJoinType()

Return Value

string

string getJoin()

Return Value

string

string getAlias()

Return Value

string

string getConditionType()

Return Value

string

string getCondition()

Return Value

string

string getIndexBy()

Return Value

string

string __toString()

Return Value

string