mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #42] [MERGED] DDC-1059: RSM Helper #7627
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/42
Author: @mridgway
Created: 3/30/2011
Status: ✅ Merged
Merged: 4/30/2011
Merged by: @beberlei
Base:
master← Head:DDC-1059📝 Commits (4)
20dc72eFirst pass on RSM helper functions for adding entitiesc46d835Moved new functions to ResultSetMappingBuilder classb1b1737Removing left over class importaf4cf0dReplaced prefix parameter with renamedColumns; Added exception when duplicate columns found📊 Changes
3 files changed (+191 additions, -4 deletions)
View changed files
📝
lib/Doctrine/ORM/Query/ResultSetMapping.php(+1 -4)➕
lib/Doctrine/ORM/Query/ResultSetMappingBuilder.php(+100 -0)📝
tests/Doctrine/Tests/ORM/Functional/NativeQueryTest.php(+90 -0)📄 Description
Adds a new ResultSetMappingBuilder class with functions to automatically add fields for root or joined entities.
Turning this into a pull request to make it easier to track the changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.