Skip to content

Commit 945ad05

Browse files
lidiazuinrecrwplaymjfwebbdarrellwarde
authored
Adding example to numeric aggregation query #79 (#80)
* Add page-aliases for version 4 (#31) (#32) Co-authored-by: Neil Dewhurst <[email protected]> * Editorial review of the latest additions (#34) * Update publish.yml * Editorial review of the most recent changes * reverting changes to partials * fixing note formatting * Add page-aliases for version 4 (#31) (#32) Co-authored-by: Neil Dewhurst <[email protected]> * Editorial review of the most recent changes * fixing note formatting * Add page-aliases for version 4 (#31) (#32) Co-authored-by: Neil Dewhurst <[email protected]> * Editorial review of the most recent changes * fixing note formatting * Add page-aliases for version 4 (#31) (#32) Co-authored-by: Neil Dewhurst <[email protected]> * Editorial review of the most recent changes * Add page-aliases for version 4 (#31) * revert * Apply suggestions from code review Co-authored-by: Michael Webb <[email protected]> --------- Co-authored-by: Neil Dewhurst <[email protected]> Co-authored-by: Michael Webb <[email protected]> * Fix scalar description placeholders #38 (#39) * Editorial review of the most recent changes * reverting changes to partials * fixing note formatting * Add page-aliases for version 4 (#31) (#32) Co-authored-by: Neil Dewhurst <[email protected]> * Editorial review of the most recent changes * fixing note formatting * Editorial review of the most recent changes * fixing note formatting * Add page-aliases for version 4 (#31) (#32) Co-authored-by: Neil Dewhurst <[email protected]> * Editorial review of the most recent changes * Fix scalar description placeholders (#38) --------- Co-authored-by: Neil Dewhurst <[email protected]> Co-authored-by: Darrell Warde <[email protected]> * Editorial review of the most recent changes * reverting changes to partials * Add page-aliases for version 4 (#31) (#32) Co-authored-by: Neil Dewhurst <[email protected]> * Editorial review of the most recent changes * Editorial review of the most recent changes * fixing note formatting * Add page-aliases for version 4 (#31) (#32) Co-authored-by: Neil Dewhurst <[email protected]> * Editorial review of the most recent changes * Adding example to numeric aggregation query (#79) * Adding example to a numeric aggregation query * Update modules/ROOT/pages/queries-aggregations/index.adoc Co-authored-by: Michael Webb <[email protected]> --------- Co-authored-by: Michael Webb <[email protected]> * fixing conflict --------- Co-authored-by: Neil Dewhurst <[email protected]> Co-authored-by: Michael Webb <[email protected]> Co-authored-by: Darrell Warde <[email protected]>
1 parent c3bea4b commit 945ad05

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

modules/ROOT/pages/queries-aggregations/aggregations.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ a|
3030
[source, graphql, indent=0]
3131
----
3232
query {
33-
usersAggregate {
34-
33+
usersAggregate {
34+
age {
35+
average
3536
}
37+
}
3638
}
3739
----
3840

modules/ROOT/pages/queries-aggregations/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ type Post {
2828
type User {
2929
id: ID! @id
3030
name: String!
31+
age: Int!
3132
posts: [Post!]! @relationship(type: "HAS_POST", direction: OUT, properties: "PostedAt")
3233
friends: [User!]! @relationship(type: "FRIENDS_WITH", direction: OUT)
3334
}

0 commit comments

Comments
 (0)