Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2748

DQL expression query "in", not working with Collection

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: DQL
    • Security Level: All
    • Labels:
      None
    • Environment:
      OpenSuse 12.3, php 5.5.3

      Description

      The Title said it all…

      Using $qb->expr()->in() with a Collection, will result in an empty array sent.

        Activity

        Hide
        Matthieu Napoli added a comment - - edited

        I opened a PR: https://github.com/doctrine/doctrine2/pull/822

        Update: wrong fix, PR closed

        Show
        Matthieu Napoli added a comment - - edited I opened a PR: https://github.com/doctrine/doctrine2/pull/822 Update : wrong fix, PR closed
        Hide
        Doctrine Bot added a comment -

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

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

          People

          • Assignee:
            Marco Pivetta
            Reporter:
            Valentin Claras
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: