limit method

void limit(
  1. int limit,
  2. {int? offset}
)

Limits the amount of rows returned by capping them at limit. If offset is provided as well, the first offset rows will be skipped and not included in the result.

Implementation

void limit(int limit, {int? offset}) {
  limitExpr = Limit(limit, offset);
}