Skip to main content

Documentation index: llms.txt. This page is also available as markdown: append .md to this URL or send Accept: text/markdown.

CommentSorting

Sorting options for results

input CommentSorting {
direction: SortingDirectionEnum
nullsPriority: SortingNullsPriority
sortingKey: CommentSortingKey!
}

Fields

CommentSorting.direction ● SortingDirectionEnum enum general

The direction to sort the results: by ASC or DESC

CommentSorting.nullsPriority ● SortingNullsPriority enum general

The position of null values in the results: FIRST or LAST

CommentSorting.sortingKey ● CommentSortingKey! non-null enum comments

Available attributes to sort the results by

Example

{
"direction": "ASC",
"nullsPriority": "LAST",
"sortingKey": "createdAt"
}

Member Of