You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2016/01/13 23:59:57 UTC
incubator-tinkerpop git commit: tweaked the coalesce() doc example to
pure pure-traversal form. No .next(). We have AddPropertyStep. CTR.
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master 6511a7720 -> 0cac85578
tweaked the coalesce() doc example to pure pure-traversal form. No .next(). We have AddPropertyStep. CTR.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/0cac8557
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/0cac8557
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/0cac8557
Branch: refs/heads/master
Commit: 0cac855782846f95b9303e80b5775421522f26d8
Parents: 6511a77
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Wed Jan 13 15:59:51 2016 -0700
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Wed Jan 13 15:59:51 2016 -0700
----------------------------------------------------------------------
docs/src/reference/the-traversal.asciidoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/0cac8557/docs/src/reference/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc
index 21514a2..72535cf 100644
--- a/docs/src/reference/the-traversal.asciidoc
+++ b/docs/src/reference/the-traversal.asciidoc
@@ -403,7 +403,7 @@ least one element.
----
g.V(1).coalesce(outE('knows'), outE('created')).inV().path().by('name').by(label)
g.V(1).coalesce(outE('created'), outE('knows')).inV().path().by('name').by(label)
-g.V(1).next().property('nickname', 'okram')
+g.V(1).property('nickname', 'okram')
g.V().hasLabel('person').coalesce(values('nickname'), values('name'))
----