@squidcloud/client
    Preparing search index...

    Interface LimitBy<Doc>

    A configuration object used to apply additional field-based limits to a query.

    interface LimitBy<Doc extends DocumentData = any> {
        fields: FieldName<Doc>[];
        limit: number;
        reverseSort: boolean;
    }

    Type Parameters

    Index

    Properties

    fields: FieldName<Doc>[]

    The fields to apply the limit to.

    limit: number

    The maximum number of records to return for this limit configuration.

    reverseSort: boolean

    Indicates whether to reverse the sort order for this limit.