DDC-990: Update QueryBuilder reference doc #5525

Closed
doctrinebot opened this Issue Jan 17, 2011 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user dbu:

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 ;-)

@doctrinebot

Comment created by @beberlei:

Fixed

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.0.1 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment