How do I get a count?

Hello again,

I want to be able to understand how many results I may have on a query, is there a way to get a count of the result?

Thank you!

-asdf

Hello asdf!
Unfortunately, you wont be able to know the results that you’ll get beforehand.
You will have to make the query and navigate through the results using pagination.

In case it helps : https://developer.shiphero.com/graphql-primer/#pagination

Thanks!

1 Like

thank you @tomasw for the reply. Unfortunately, getting a count requires several requests, ideally this would be a single request.

Definitely would recommend count being a consideration for a future feature :slight_smile:

thank you again for replying!

3 Likes