API Reference

Ordering the results

You might want to sort you result in a specific order. To do that, you need to use the orderBy argument:

{
  Customers(
    orderBy: [
        { 
            column: LABEL, 
            order: ASC, 
        },
        { 
            column: ID, 
            order: DESC, 
        },
    ]
  ) {
    data {
      id
      label
    }
  }
}

Each entities has its own columns you can filter on. You will find those column in each entities documentations.