i had a hard time finding how to limit the number of results for querybuilder.
the reference does not say how to do it
google brought up that its called setMaxResult, which works fine:
maybe the reference is missing more things from the code...
(btw: calling it just limit would have been very intuitive for sql people