graphprotocol / support

Community support for the Hosted Service of The Graph
https://thegraph.com/
10 stars 3 forks source link

Suggestion: Order by Multiple Fields #55

Open ksvirsky opened 4 years ago

ksvirsky commented 4 years ago

In the GraphQL API, it is possible to orderBy one of the entity's fields. Is there a way to sort by two, or more fields something like:

{ 
  myEntities (orderBy: [status_ASC, createdOn_DESC, id_ASC] ) {
    id
  }
}