Graph search · GraphQL type

GraphSearchSortInputPayload type

Output mirror of GraphSearchSortInput used when an executed query is returned as a field on another type. When default is true the results were ordered by the top-level object type's default sort and column carries the concrete column it resolved to. When column is null the results were left unsorted.

Fields

Field Name Description
default - Boolean! True when the caller requested the top-level object type's default sort. The concrete column it resolved to is carried in column.
column - GraphSearchSortInputColumnPayload The concrete column the results are sorted on — the resolved default when default is true, or the caller-supplied column otherwise. Null when the results are unsorted.

Used by

Example

Example

{
  "default": false,
  "column": GraphSearchSortInputColumnPayload
}