Nitric logo

Collections

collection.query.limit()

Limit the number of results returned by a query.

from nitric.resources import collection

query = collection("profiles").allow('reading').query().limit(1000)

Parameters


limit required number

The limit to apply to the query


See also

Previous
collection.query.where()