limit method

Query<QueryJsImpl> limit(
  1. num limit
)

Creates a new Query where the results are limited to the specified number of documents.

The limit parameter is the maximum number of items to return.

Returns non-null created Query.

Implementation

Query limit(num limit) => Query.fromJsObject(jsObject.limit(limit));