Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2279

[GH-571] Update lib/Doctrine/ORM/EntityRepository.php

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of flo-ITN:

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

      Message:

      Add "indexby" missing parameter that permit an "index by" easily.

      Ex :��
      #Acme\AcmeBundle\Repository
      #Before
      public function findAllIndexById()

      { �� �� $qb = $this->_em->createQueryBuilder() �� �� �� �� �� �� �� �� �� �� ->select('root') �� �� �� �� �� �� �� �� �� �� ->from('Acme', 'root', 'root.id'); �� �� /*...*/ }

      #After
      public function findAllIndexById()

      { �� �� $qb = $this->createQueryBuilder('root','root.id'); �� ����/*...*/ }

        Issue Links

          Activity

          Benjamin Eberlei created issue -
          Benjamin Eberlei made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Invalid [ 6 ]
          Marco Pivetta made changes -
          Link This issue relates to DBAL-947 [ DBAL-947 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: