OrderDirection
OrderDirection Type
Possible directions in which to order a list of items when provided an orderBy argument.
Values
Value
Description
ASC
Specifies an ascending order for a given orderBy argument
DESC
Specifies a descending order for a given orderBy argument
Usage Example
query {
files(
orderBy: { direction: DESC, field: CREATED_AT }
first: 10
) {
edges {
node {
id
name
createdAt
}
}
}
}Last updated
Was this helpful?
