limit

public QueryBuilder limit(int count)

Limits the number of results returned by the query.

Parameters

count

the number of results to be returned