Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
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
5 changes: 5 additions & 0 deletions src/content/docs/cypher/data-types/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,11 @@ RETURN {first: 'Adam', last: 'Smith'};
└───────────────────────────────────┘
```

Alternatively, you can explicitly use the `STRUCT_PACK` function. This will produce the same result.
```cypher
RETURN STRUCT_PACK(first := 'Adam', last := 'Smith');
```

You can extract a value from a `STRUCT` using the dot notation:

```cypher
Expand Down