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

accept array as parameter in getConcatExpression #275

Closed
wants to merge 3 commits into from
Closed

accept array as parameter in getConcatExpression #275

wants to merge 3 commits into from

Conversation

broncha
Copy link

@broncha broncha commented Feb 19, 2013

The function getConcatExpression accepts strings, but as there can be any number of parameters passed to this and while calling from ConcatFunction sqlwalker has to walk all the parameters. So it would be better if getConcatExpression accepts array. Infact even better if it only accepts array. It would be much cleaner. Also I am opening a pull request in ORM for ConcatFunction as it only validates 2 primaryStrings. It should support more than two. SO for that to happen, getConcatExpression should accept array as parameter.

@doctrinebot
Copy link

Hello,

thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

http://doctrine-project.org/jira/browse/DBAL-450

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants