Skip to content

Commit

Permalink
Merge pull request #63 from block/myron/fix-grammar
Browse files Browse the repository at this point in the history
Website: fix grammar in a few places.
  • Loading branch information
myronmarston authored Dec 12, 2024
2 parents f454449 + af7ae3f commit ad63723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/site/src/query-api/aggregations/sub-aggregations.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ within the overall `Artist` type:
* `Artist.tours[].shows`

ElasticGraph supports aggregations on these nested fields via `subAggregations`. This can be used
to aggregation directly on the data of one of these fields. For example, this query returns the
to aggregate directly on the data of one of these fields. For example, this query returns the
total sales for all albums of all artists:

{% highlight graphql %}
{{ site.data.music_queries.aggregations.TotalAlbumSales }}
{% endhighlight %}

Sub-aggregations can also be performed under the groupings of an outer aggregations. For example,
Sub-aggregations can also be performed under the groupings of an outer aggregation. For example,
this query returns the total album sales grouped by the home country of the artist:

{% highlight graphql %}
Expand Down

0 comments on commit ad63723

Please sign in to comment.