top method

CollectionQuery<T> top(
  1. int i
)

Implementation

CollectionQuery<T> top(int i) {
  if (i.isNegative) {
    throw Exception(r"$top cannot accept negative value");
  }

  _top = i;

  return this;
}