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'); �� ����/*...*/ }

        Activity

        Hide
        Doctrine Bot added a comment -

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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: