weaviate-client
    Preparing search index...

    Class Sorting<T>

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Returns Sorting<T>

    Properties

    sorts: SortBy[]

    Methods

    • Sort by the objects' creation time.

      Parameters

      • Optionalascending: boolean

      Returns this

    • Sort by the objects' ID.

      Parameters

      • Optionalascending: boolean

      Returns this

    • Sort by the objects' property.

      Type Parameters

      • K extends string

      Parameters

      • property: K
      • Optionalascending: boolean

      Returns this

    • Sort by the objects' last update time.

      Parameters

      • Optionalascending: boolean

      Returns this