Commit bca10f8
Update openCypher-Exercises-Answer-Key.ipynb (#526)
* Update openCypher-Exercises-Answer-Key.ipynb
As mentioned earlier in the notebook, the `MERGE` clause does not support partial pattern matches. When matching against patterns in `MERGE`, the matches are either the entire pattern, or the entire pattern is created.
Because the pattern is a partial match, it currently creates a new "person {first_name: 'Dave'}" node for each of the new "person" added to the graph.
By first doing a MERGE for (d:person {first_name: 'Dave'), when the partial match happens, the whole path is again created, but this time linking to the already existing "Dave" rather than creating new ones each time.
* Update openCypher-Exercises-Answer-Key.ipynb
fix quotes
---------
Co-authored-by: Michael Chin <mchin188@yahoo.com>1 parent 972e4a9 commit bca10f8
File tree
1 file changed
+2
-1
lines changed- src/graph_notebook/notebooks/06-Language-Tutorials/02-openCypher
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
| 377 | + | |
377 | 378 | | |
378 | 379 | | |
379 | 380 | | |
| |||
0 commit comments