[PR #760] [CLOSED] Add table alias to column names #8669

Closed
opened 2026-01-22 16:01:00 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/760
Author: @patrickli
Created: 8/19/2013
Status: Closed

Base: 2.3Head: m2m-table-alias


📝 Commits (1)

  • 6229f3e Add table alias to column names

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 lib/Doctrine/ORM/Persisters/ManyToManyPersister.php (+2 -2)

📄 Description

ManyToManyPersister does not add table alias to column names in multi-table SELECT queries. This will cause SQL servers complain about condition columns in where clause are ambiguous.


🔄 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/760 **Author:** [@patrickli](https://github.com/patrickli) **Created:** 8/19/2013 **Status:** ❌ Closed **Base:** `2.3` ← **Head:** `m2m-table-alias` --- ### 📝 Commits (1) - [`6229f3e`](https://github.com/doctrine/orm/commit/6229f3e4db4afa1069ee8bcd64c19f1ef8c2d9db) Add table alias to column names ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Persisters/ManyToManyPersister.php` (+2 -2) </details> ### 📄 Description `ManyToManyPersister` does not add table alias to column names in multi-table `SELECT` queries. This will cause SQL servers complain about condition columns in where clause are ambiguous. --- <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 16:01:00 +01:00
admin closed this issue 2026-01-22 16:01:01 +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#8669