Skip to content
Permalink
Browse files
Fixed formatting in Aggregation Section
  • Loading branch information
JoshInnis committed Oct 22, 2021
1 parent bf32017 commit 882d5eb91824e69611864e0440fae0a9e90d3add
Showing 2 changed files with 4 additions and 2 deletions.
@@ -1,6 +1,6 @@
# Aggregation Functions

Functions that activate [auto aggregation](../intro/aggregation.html#).
Functions that activate [auto aggregation](../intro/aggregation#).

## Data Setup
```
@@ -3,7 +3,7 @@

## Introduction

Generally an aggregation aggr(expr) processes all matching rows for each aggregation key found in an incoming record (keys are compared using [equivalence](./comparability.html#)).
Generally an aggregation aggr(expr) processes all matching rows for each aggregation key found in an incoming record (keys are compared using [equivalence](../intro/comparability.html#)).

In a regular aggregation (i.e. of the form aggr(expr)), the list of aggregated values is the list of candidate values with all null values removed from it.

@@ -261,11 +261,13 @@ Results

If the grouping key is considered unecessary for the query output, the aggregation can be done in a WITH clause then passing information to the RETURN clause.

```
SELECT * FROM cypher('graph_name', $$
MATCH (x:L)
WITH count(*) + count(*) + x.a + x.b + x.c as column, x
RETURN column
$$) as (a agtype);
```

Results
<table>

0 comments on commit 882d5eb

Please sign in to comment.