Skip to content

Loading…

DDC-2899: Allow the NEW operator to construct objects containing entities #3656

Closed
doctrinebot opened this Issue · 5 comments

2 participants

@doctrinebot

Jira issue originally created by user darkangel:

E.g.:

SELECT NEW CustomerDTO(c, SUM(o.value)) FROM Customer c JOIN c.orders o GROUP BY c

public function **construct(Customer $c, $sum) { ... }

@doctrinebot

Comment created by flip101:

(y)

@doctrinebot

Comment created by @ocramius:

Duplicate of DDC-2694

@doctrinebot

Issue was closed with resolution "Duplicate"

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