We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To join entity which does not have relation with master entity.
In QueryBuilder: $qb->join(SomeEntity::class, 'se', Join::WITH, 'e.id = se.id');
$qb->join(SomeEntity::class, 'se', Join::WITH, 'e.id = se.id');
Spec.php
public static function join($field, $newAlias, $dqlAlias = null, $conditionType = null, $condition = null) { return new Join($field, $newAlias, $dqlAlias, $conditionType, $condition); }
AbstractJoin.php
public function modify(QueryBuilder $qb, $dqlAlias) { if (null !== $this->dqlAlias) { $dqlAlias = $this->dqlAlias; } $join = $this->getJoinType(); $field = null !== $conditionType ? $this->field : sprintf('%s.%s', $dqlAlias, $this->field); $qb->$join($field, $this->newAlias, $conditionType, $condition); }
The text was updated successfully, but these errors were encountered:
This feature has already been discussed #122. I am not sure that this feature is necessary.
Sorry, something went wrong.
It does not really matter how to set the rules via JOIN WITH or WHERE. Can you give an example when the use of JOIN WITH is preferable?
No branches or pull requests
To join entity which does not have relation with master entity.
In QueryBuilder:
$qb->join(SomeEntity::class, 'se', Join::WITH, 'e.id = se.id');
Spec.php
AbstractJoin.php
The text was updated successfully, but these errors were encountered: