Skip to content

Commit c357870

Browse files
authored
Fix some queries in Gremlin language tutorials (#535)
1 parent 010fef8 commit c357870

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/graph_notebook/notebooks/06-Language-Tutorials/03-Gremlin/02-Loops-Repeats.ipynb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,8 @@
395395
" .or(loops().is(2))\n",
396396
")\n",
397397
".path()\n",
398-
".by(elementMap())"
398+
".by(elementMap())\n",
399+
".limit(10)"
399400
]
400401
},
401402
{
@@ -432,7 +433,8 @@
432433
")\n",
433434
".has(\"first_name\",\"Dave\")\n",
434435
".path()\n",
435-
".by(elementMap())"
436+
".by(elementMap())\n",
437+
".limit(9)"
436438
]
437439
},
438440
{
@@ -701,4 +703,4 @@
701703
},
702704
"nbformat": 4,
703705
"nbformat_minor": 5
704-
}
706+
}

0 commit comments

Comments
 (0)