diff --git a/pages/querying/functions.mdx b/pages/querying/functions.mdx index 57cd50db2..6386d7ee5 100644 --- a/pages/querying/functions.mdx +++ b/pages/querying/functions.mdx @@ -146,13 +146,12 @@ This section contains the list of supported functions. All aggregation functions can be used with the `DISTINCT` operator to perform calculations only on unique values. For example, `count(DISTINCT n.prop)` and `collect(DISTINCT n.prop)`. - ### Graph projection functions - - | Name | Signature | Description | - | --------- | ------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------- | - | `project` | `project(row: path) -> map("nodes":list[Node], "edges":list[Edge])`| Creates a projected graph consisting of nodes and relationships from aggregated paths. | - +### Graph projection functions + | Name | Signature | Description | + | --------- | -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | + | `project` | `project(row: path) -> map("nodes":list[Node], "edges":list[Edge])` | Creates a projected graph consisting of nodes and relationships from aggregated paths. | + | `project` | `project(nodes: List[Node], edges:List[Edge]) -> map("nodes":list[Node], "edges":list[Edge])`| Creates a projected graph consisting of nodes and relationships from a list of nodes and a list of relationships, ignoring duplicate nodes and relationships. | ### String functions