Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix chapter user-defined aggregation functions #324

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 1 addition & 8 deletions cypher/cypher-docs/src/docs/dev/ql/functions/index.asciidoc
Expand Up @@ -341,13 +341,6 @@ include::query-functions-spatial.adoc[leveloffset=+1]
include::query-functions-udf.adoc[leveloffset=+1]


[[query-functions-user-defined-aggregation]]
=== User-defined aggregation functions ===

User-defined aggregation functions are written in Java, deployed into the database and are called in the same way as any other Cypher function.

This example shows how you invoke a user-defined aggregation function called `longestString` from Cypher.
// User-defined aggregation functions

include::query-functions-user-defined-aggregation.adoc[leveloffset=+1]

For developing and deploying user-defined aggregation functions in Neo4j, see <<java-reference#extending-neo4j-aggregation-functions, Extending Neo4j -> User-defined aggregation functions>>.
Expand Up @@ -45,6 +45,9 @@ class UserDefinedAggregationFunctionTest extends DocumentingTest {
resultTable()
}
}
p("""
|For developing and deploying user-defined functions in Neo4j, see <<java-reference#extending-neo4j-aggregation-functions, Extending Neo4j -> User-defined aggregation functions>>.""")

}.build()

}