Skip to content

Loading…

DBAL-489: [GH-302] [DBAL-374] Fix asset identfier quotation #1690

Closed
doctrinebot opened this Issue · 3 comments

2 participants

@doctrinebot

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of deeky666:

Url: #302

Message:

This PR introduces a real solution for the issues discussed in DBAL-374.
It adds the possibility to retrieve quoted column names from Index and ForeignKeyConstraint assets if it is necessary (e.g. column name is a keyword reserved by the platform).
In general column names are wrapped into an abstraction class Identifier which inherits from AbstractAsset inside Index and ForeignKeyConstraint. This allows to get a quoted representation of each column name via the AbstractAsset::getQuotedName.
All platforms are updated to make use of the new functionality.

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-302] was closed:
#302

@doctrinebot

Comment created by @ocramius:

Merged at b18ab96

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.4 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.