mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #624] [CLOSED] Fix getSQLTableAlias for postgre camelized table name #8466
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/624
Author: @cedriclombardot
Created: 3/22/2013
Status: ❌ Closed
Base:
master← Head:patch-2📝 Commits (2)
cc53441Fix getSQLTableAlias for postgre camelized table name411ea43Fix remove of strtolower📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/Query/SqlWalker.php(+3 -1)📄 Description
In postgreSQL with old databases we can have camelized model names to query on we need to add quote around the table name like :
But when query is built the alias taken will be
"this fix will find the good alias to use enabling to query camelized tables🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.