• Creates a QueryLimitConstraint that only returns the first matching documents.

    Returns

    The created QueryLimitConstraint.

    Parameters

    • limit: number

      The maximum number of items to return.

    Returns QueryLimitConstraint

Generated using TypeDoc