Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 3 comments

2 participants

@doctrinebot

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

Comment created by @FabioBatSilva:

Merged : 13762f2

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot

Comment created by @doctrinebot:

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

@beberlei beberlei was assigned by doctrinebot
@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.