Skip to content

Commit 3aab3b8

Browse files
authored
Fix join example in advanced.md (#334)
- The AS-clause has a mismatch in number of returned rows and their names (as used by the join condition).
1 parent b4441b1 commit 3aab3b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced/advanced.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ SELECT graph_1.name, graph_1.age, graph_2.license_number
289289
FROM cypher('graph_1', $$
290290
MATCH (v:Person)
291291
RETURN v.name, v.age
292-
$$) AS graph_1(col_1 agtype, col_2 agtype, col_3 agtype)
292+
$$) AS graph_1(name agtype, age agtype)
293293
JOIN cypher('graph_2', $$
294294
MATCH (v:Doctor)
295295
RETURN v.name, v.license_number

0 commit comments

Comments
 (0)