limit method

Limit limit (Expression expression, { Expression offset })

Implementation

Limit limit(Expression expression, {Expression offset}) {
  var resultQuery = new Limit();
  resultQuery.options = this.options;
  resultQuery.options["limit"] = expression;
  if (offset != null) {
    resultQuery.options["offset"] = offset;
  }
  return resultQuery;
}