Comparing the queries here.
query {
articles_aggregate {
aggregate {
count
sum {
rating
}
avg {
rating
}
max {
rating
}
}
nodes {
id
title
rating
}
}
}query {
articlesAggregate {
count
rating {
average
max
sum ## Missing
}
}
articles {
id
title
rating
}
}query {
authors(where: { id: { _eq: 1 } }) {
id
name
articles_aggregate {
aggregate {
count
avg {
rating
}
max {
rating
}
}
nodes {
id
title
rating
}
}
}
}query {
authors(where: { id: 1 }) {
id
name
articlesAggregate {
count
rating {
average
max
}
}
articles {
id
title
rating
}
}
}