• Limits the amount of documents returned by the query.

    Parameters

    • queryID: string

      The query to add the filter to.

    • amount: number

      The amount of documents to limit to

    • last: boolean

      If true, limits to the last documents instead of the first documents.

    Returns void