mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #451] [CLOSED] Adding multiple identical joins via query builder should produce a valid DQL #8210
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/451
Author: @mvrhov
Created: 9/21/2012
Status: ❌ Closed
Base:
master← Head:ignoreIdenticalJoins📝 Commits (1)
3edf8dcAdding multiple identical joins via query builder should produce a valid DQL📊 Changes
2 files changed (+29 additions, -0 deletions)
View changed files
📝
lib/Doctrine/ORM/QueryBuilder.php(+17 -0)📝
tests/Doctrine/Tests/ORM/QueryBuilderTest.php(+12 -0)📄 Description
Rationale:
I'm building a webservice where the client can specify a simple filter on the field of the 1:n table.
Without this patch I have to keep a state of which joins I have added to the DQL, which doesn't make any sense as IMHO the DQL builder is meant just for the kind of usage I do.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.