Python - 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

  • Name
    limit
    Required
    Required
    Type
    number
    Description

    The limit to apply to the query.

See also