It would be helpful to be able to limit the number of results in queries. Currently it's easy to get the first() record, paginate(), and get() all records.
I could see limit() working like this:
// get the first 5 rows from the product table
qb.get( "product" ).limit( 5 ).get();
It would be helpful to be able to limit the number of results in queries. Currently it's easy to get the
first()
record,paginate()
, andget()
all records.I could see
limit()
working like this: