Skip to content

Add two argument project() #1163

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

Merged
merged 2 commits into from
Feb 26, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions pages/querying/functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)`.
</Callout>

### 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
Expand Down