mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #584] [CLOSED] QueryBuilder::addCriteria improvements #8406
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/584
Author: @chEbba
Created: 2/19/2013
Status: ❌ Closed
Base:
master← Head:query-expression-visitor-improvements📝 Commits (1)
59a3780Fix problem with different comparisons on the same field in QueryExpressionVisitor.📊 Changes
4 files changed (+188 additions, -50 deletions)
View changed files
📝
lib/Doctrine/ORM/Query/QueryExpressionVisitor.php(+121 -21)📝
lib/Doctrine/ORM/QueryBuilder.php(+6 -5)📝
tests/Doctrine/Tests/ORM/Query/QueryExpressionVisitorTest.php(+56 -19)📝
tests/Doctrine/Tests/ORM/QueryBuilderTest.php(+5 -5)📄 Description
First level fields are added with alias, second+ level fields (object.field, parent.object.field) are truncated to the second level (object.field) without alias. Alias map can be implemented in future.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.