@squidcloud/client
    Preparing search index...

    Interface FieldSort<Doc>

    A definition of a sort order by a field in a database query.

    interface FieldSort<Doc> {
        asc: boolean;
        fieldName: FieldName<Doc>;
    }

    Type Parameters

    • Doc
    Index

    Properties

    Properties

    asc: boolean

    Indicates whether the sort is ascending (true) or descending (false).

    fieldName: FieldName<Doc>

    The name of the field to sort by.