Skip to content

Commit

Permalink
Website: fix grammar in a few places.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Dec 12, 2024
1 parent f454449 commit af7ae3f
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 af7ae3f

Please sign in to comment.