You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by pi...@apache.org on 2016/03/30 08:39:25 UTC
[31/40] incubator-tinkerpop git commit: fixed a typo in the docs.
fixed a typo in the docs.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/895ce061
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/895ce061
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/895ce061
Branch: refs/heads/TINKERPOP-968
Commit: 895ce0614e1633aaa8446624d0d649692511fd66
Parents: d90be26
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Tue Mar 29 12:49:45 2016 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Tue Mar 29 12:49:45 2016 -0600
----------------------------------------------------------------------
docs/src/reference/the-traversal.asciidoc | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/895ce061/docs/src/reference/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc
index 5f8d270..8708f39 100644
--- a/docs/src/reference/the-traversal.asciidoc
+++ b/docs/src/reference/the-traversal.asciidoc
@@ -1380,18 +1380,18 @@ For traversal compilation information, please see <<explain-step,`explain()`>>-s
Project Step
~~~~~~~~~~~~
-The `project()`-step (*map*) projects labeled attributes of the current object into a `Map<String,Object>`. It is similar
+The `project()`-step (*map*) projects the current object into a `Map<String,Object>` keyed by provided labels. It is similar
to <<select-step,`select()`>>-step, save that instead of retrieving and modulating historic traverser state, it modulates
the current state of the traverser.
[gremlin-groovy,modern]
----
g.V().out('created').
- project('a",'b').
- by('name').
- by(__.in('created').count()).
- order().by(select('b'),decr).
- select('a')
+ project('a','b').
+ by('name').
+ by(__.in('created').count()).
+ order().by(select('b'),decr).
+ select('a')
----
[[range-step]]