[DDC-2435] Fix column name with numbers and non alphanumeric characters. #671

Merged
merged 1 commit into from May 17, 2013

Conversation

Projects
None yet
2 participants
@@ -127,12 +127,15 @@ function ($joinColumn) use ($platform)
*/
public function getColumnAlias($columnName, $counter, AbstractPlatform $platform, ClassMetadata $class = null)
@beberlei

beberlei May 17, 2013

Owner

Wondering if we should ship an AnsiQuoteStrategy that just assumes every column is ANSI compliant and only does return $platform->getSQLResultCashing($columnName . $counter);

@FabioBatSilva

FabioBatSilva May 17, 2013

Owner

Sounds good.

I've created an issue : DDC-2459

beberlei added a commit that referenced this pull request May 17, 2013

Merge pull request #671 from FabioBatSilva/DDC-2435
[DDC-2435] Fix column name with numbers and non alphanumeric characters.

@beberlei beberlei merged commit c9d9b68 into doctrine:master May 17, 2013

1 check passed

default The Travis CI build passed
Details

@FabioBatSilva FabioBatSilva deleted the FabioBatSilva:DDC-2435 branch May 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment