Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from May 17, 2013

Conversation

FabioBatSilva
Copy link
Member

@@ -127,12 +127,15 @@ function ($joinColumn) use ($platform)
*/
public function getColumnAlias($columnName, $counter, AbstractPlatform $platform, ClassMetadata $class = null)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good.

I've created an issue : DDC-2459

beberlei added a commit that referenced this pull request May 17, 2013
[DDC-2435] Fix column name with numbers and non alphanumeric characters.
@beberlei beberlei merged commit c9d9b68 into doctrine:master May 17, 2013
@FabioBatSilva FabioBatSilva deleted the DDC-2435 branch May 17, 2013 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants