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-1979: [GH-422] DDC-1574 - "new" operator #2652

Closed
doctrinebot opened this issue Aug 12, 2012 · 3 comments
Closed

DDC-1979: [GH-422] DDC-1574 - "new" operator #2652

doctrinebot opened this issue Aug 12, 2012 · 3 comments
Assignees
Milestone

Comments

@doctrinebot
Copy link

Jira issue originally created by user @beberlei:

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

Url: #422

Message:

http://www.doctrine-project.org/jira/browse/[DDC-1574](http://www.doctrine-project.org/jira/browse/DDC-1574)

Hi guys.

This path adds support for "new" operator

Usage :

SELECT
    new CustomerDTO(c.name, e.email, a.city)
FROM
    Customer c
JOIN
    u.email e
JOIN
    u.address a
ORDER BY
    u.name

Any simple class with a constructor could be used
but for the first version just scalar values are allowed.

it's a big patch, so any sugestion are welcome.

Thanks.

@doctrinebot
Copy link
Author

Comment created by @FabioBatSilva:

Merged : 13762f2

@doctrinebot
Copy link
Author

Issue was closed with resolution "Fixed"

@doctrinebot
Copy link
Author

Comment created by @doctrinebot:

A related Github Pull-Request [GH-422] was closed:
doctrine/dbal#422

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

No branches or pull requests

2 participants