Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.1
    • Component/s: Documentation
    • Security Level: All
    • Labels:
      None

      Description

      i had a hard time finding how to limit the number of results for querybuilder.

      the reference does not say how to do it
      http://www.doctrine-project.org/docs/orm/2.0/en/reference/query-builder.html

      google brought up that its called setMaxResult, which works fine:
      http://www.doctrine-project.org/api/orm/2.0/doctrine/orm/querybuilder.html

      maybe the reference is missing more things from the code...

      (btw: calling it just limit would have been very intuitive for sql people

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Fixed

        Show
        Benjamin Eberlei added a comment - Fixed

          People

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

            Dates

            • Created:
              Updated:
              Resolved: