Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-968

Query hints should be retrievable by user

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Git Master
    • Fix Version/s: 2.0.1, 2.1
    • Component/s: DQL, ORM
    • Security Level: All
    • Labels:
      None
    • Environment:
      all

      Description

      Currently the only way to set additional parameters accessible by AST TreeWalker is using the query hints.
      the main problem is then query is being cloned, hints are flushed and the only way to set them is to access them by name and feed to cloned query one by one.
      I think there should be Query::getHints() method available to the userland

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Implemented

        Show
        Benjamin Eberlei added a comment - Implemented

          People

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

            Dates

            • Created:
              Updated:
              Resolved: