Aggregate queries
Last updated
{
Invoice_aggregate {
_sum {
amount
}
}
}query {
Invoice_aggregate(where: { status: "updated" }) {
_sum {
amount
}
}
}{
Invoice_aggregate {
_count
_groupby{
invoiceType
}
}
}{
Invoice_aggregate (status: "updated") {
_count
_groupby{
invoiceType
}
}
}