Closed ankitpatelinitio closed 5 years ago
How to get records by descending order from graphql query. I tried to use order parameter with the field but it gave me records by ascending orders.
Thanks
Hi @ankitpatelinitio - just add DESC to the order field
query { contacts(order:"first_name desc"){ first_name } }
Thanks, @mrbarletta , I tried this solution and it's working fine.
How to get records by descending order from graphql query. I tried to use order parameter with the field but it gave me records by ascending orders.
Thanks