You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2019/02/26 12:05:34 UTC
[tinkerpop] branch master updated: Fix error in 'The First Five
Minutes' section
This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/master by this push:
new 6bb7d57 Fix error in 'The First Five Minutes' section
new 37b2bc1 Merge branch 'tp33'
6bb7d57 is described below
commit 6bb7d570fc568f668ab924e46837034629c861d8
Author: Matt Newman <md...@gmail.com>
AuthorDate: Mon Feb 25 17:37:50 2019 -0600
Fix error in 'The First Five Minutes' section
`inE().inV()` is not equivalent to `in()`, corrected to `inE().outV()`
---
docs/src/tutorials/getting-started/index.asciidoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/src/tutorials/getting-started/index.asciidoc b/docs/src/tutorials/getting-started/index.asciidoc
index 32f1b64..047f2d6 100644
--- a/docs/src/tutorials/getting-started/index.asciidoc
+++ b/docs/src/tutorials/getting-started/index.asciidoc
@@ -142,7 +142,7 @@ g.V(1).out('knows').has('age', gt(30)).values('name') <7>
<4> Get the edges with the label "knows" for the vertex with the unique identifier of "1".
<5> Get the names of the people that the vertex with the unique identifier of "1" "knows".
<6> Note that when one uses `outE().inV()` as shown in the previous command, this can be shortened to just `out()`
-(similar to `inE().inV()` and `in` for incoming edges).
+(similar to `inE().outV()` and `in()` for incoming edges).
<7> Get the names of the people vertex "1" knows who are over the age of 30.
IMPORTANT: A `Traversal` is essentially an `Iterator` so if you have code like `x = g.V()`, the `x` does not contain