Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

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

      Url: https://github.com/doctrine/doctrine2/pull/422

      Message:

      http://www.doctrine-project.org/jira/browse/DDC-1574

      Hi guys.

      This path adds support for "new" operator

      Usage :
      ```SQL
      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.

        Activity

        Show
        Fabio B. Silva added a comment - Merged : https://github.com/doctrine/doctrine2/commit/13762f20c9f6daa0c2e4e8a113de01969c6621da
        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-422] was closed:
        https://github.com/doctrine/dbal/pull/422

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-422] was closed: https://github.com/doctrine/dbal/pull/422

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: