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 2017/01/17 17:23:41 UTC
[03/18] tinkerpop git commit: Added an additional example to
project() step
Added an additional example to project() step
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/52f7f965
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/52f7f965
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/52f7f965
Branch: refs/heads/master
Commit: 52f7f965879bf881296a2368be9265d503b95ad9
Parents: e1d5b68
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Fri Jan 6 13:36:50 2017 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Fri Jan 6 13:36:50 2017 -0500
----------------------------------------------------------------------
docs/src/reference/the-traversal.asciidoc | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/52f7f965/docs/src/reference/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc
index 52cebf8..6380efc 100644
--- a/docs/src/reference/the-traversal.asciidoc
+++ b/docs/src/reference/the-traversal.asciidoc
@@ -1480,6 +1480,10 @@ g.V().out('created').
by(__.in('created').count()).
order().by(select('b'),decr).
select('a')
+g.V().has('name','marko').
+ project('out','in').
+ by(outE().count()).
+ by(inE().count())
----
[[program-step]]