Get total count in pagination query

Hi Ben,

Thanks for the example code.
Actually I found the answer for my question.

query MyQuery {
queryProduct(first: 10, offset: 0) {
productid
}
aggregateProduct {
count
}
}

1 Like