Fixed up an appendix entry given pull request feedback.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/f992cdfe Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/f992cdfe Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/f992cdfe Branch: refs/heads/TINKERPOP-1602 Commit: f992cdfe89b00e91df98e83907c65968d16dcb17 Parents: 1c14dde Author: Stephen Mallette <sp...@genoprime.com> Authored: Tue Jan 17 11:38:18 2017 -0500 Committer: Stephen Mallette <sp...@genoprime.com> Committed: Tue Jan 17 11:38:18 2017 -0500 ---------------------------------------------------------------------- docs/src/recipes/appendix.asciidoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/f992cdfe/docs/src/recipes/appendix.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/recipes/appendix.asciidoc b/docs/src/recipes/appendix.asciidoc index 15fda50..e9d13aa 100644 --- a/docs/src/recipes/appendix.asciidoc +++ b/docs/src/recipes/appendix.asciidoc @@ -38,9 +38,10 @@ g.addV('name','marko').as('marko'). addE('follows').from('daniel').to('marko').iterate() g.V().as('p'). map(__.in('follows').values('name').fold()). - group().by(select('p').by('name')). - by(project('numFollowers','followers'). - by(count(local)).by()).next() + project('person','followers','numFollowers'). + by(select('p').by('name')). + by(). + by(count(local)) ---- It might also be alternatively written as: