[PR #42] [MERGED] DDC-1059: RSM Helper #7627

Open
opened 2026-01-22 15:56:03 +01:00 by admin · 0 comments
Owner

📋 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: masterHead: DDC-1059


📝 Commits (4)

  • 20dc72e First pass on RSM helper functions for adding entities
  • c46d835 Moved new functions to ResultSetMappingBuilder class
  • b1b1737 Removing left over class import
  • af4cf0d Replaced 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.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/42 **Author:** [@mridgway](https://github.com/mridgway) **Created:** 3/30/2011 **Status:** ✅ Merged **Merged:** 4/30/2011 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `DDC-1059` --- ### 📝 Commits (4) - [`20dc72e`](https://github.com/doctrine/orm/commit/20dc72ef9ae0d7c4afead35c249c224b95570aa7) First pass on RSM helper functions for adding entities - [`c46d835`](https://github.com/doctrine/orm/commit/c46d83514631841800c782890ad27a2b77de200f) Moved new functions to ResultSetMappingBuilder class - [`b1b1737`](https://github.com/doctrine/orm/commit/b1b17376fffb80aac82ff7631b52457b2ee3e09a) Removing left over class import - [`af4cf0d`](https://github.com/doctrine/orm/commit/af4cf0d0ba8cd5d38689db8b9063ef8d8d1ae8d7) Replaced prefix parameter with renamedColumns; Added exception when duplicate columns found ### 📊 Changes **3 files changed** (+191 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:56:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7627