mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #462] [MERGED] [DDC-2055] Generate SELECT clause from ResultSetMappingBuilder #8226
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/462
Author: @beberlei
Created: 10/3/2012
Status: ✅ Merged
Merged: 10/5/2012
Merged by: @beberlei
Base:
master← Head:DDC-2055📝 Commits (2)
913377e[DDC-2055] Add support to generate entity result parts of the SELECT clause from a ResultSetMappingBuilder instance. Add support for column incrementing.a47359e[DDC-2055] Fix CS📊 Changes
2 files changed (+234 additions, -19 deletions)
View changed files
📝
lib/Doctrine/ORM/Query/ResultSetMappingBuilder.php(+168 -18)📝
tests/Doctrine/Tests/ORM/Functional/NativeQueryTest.php(+66 -1)📄 Description
Add support to generate entity result parts of the SELECT clause from a ResultSetMappingBuilder instance. Add support for column incrementing.
Sample:
TestCase Usage:
Restrictions:
This only generates the entity result clauses, not the ones for scalar results! Because we don't know what the scalar result actually means.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.