Skip to content

Loading…

DDC-990: Update QueryBuilder reference doc #5525

Closed
doctrinebot opened this Issue · 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
@doctrinebot doctrinebot added this to the 2.0.1 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.