Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2615

LIKE operator not supported in HAVING clause

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Git Master
    • Fix Version/s: 2.5
    • Component/s: DQL
    • Security Level: All
    • Labels:
      None
    • Environment:
      Win7, MySQL

      Description

      Semi-duplicate of DDC-1858.
      Only half of the problem was fixed, only the `HAVING field IS [NOT] NULL` is working.

      The `HAVING field LIKE` as in
      (SELECT _a.id, count(_photos) as uuuu FROM Acme\CoreBundle\Entity\Member _a LEFT JOIN _a.photos _photos GROUP BY _a HAVING uuuu LIKE 3)
      still does not work.

        Activity

        Show
        Litz Ouille added a comment - http://www.doctrine-project.org/jira/browse/DDC-1858

          People

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

            Dates

            • Created:
              Updated:
              Resolved: