ChainGraph API Documentation / @badaitech/badai-api / GraphQL / GetDocumentsByCollectionOrderByInput
Type Alias: GetDocumentsByCollectionOrderByInput
GetDocumentsByCollectionOrderByInput =
object
Defined in: client/graphql.ts:554
Input type for specifying the sort order of documents within a collection. Defines the field and direction by which documents should be ordered.
Properties
direction?
optionaldirection:OrderDirection
Defined in: client/graphql.ts:559
The sort direction for the specified field. Can be either Asc (ascending) or Desc (descending).
field
field:
DocumentOrderByField
Defined in: client/graphql.ts:561
The field name by which to sort the documents.