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 2015/04/24 22:53:53 UTC

incubator-tinkerpop git commit: updated docs with new lte(30) model.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master aebc644cd -> 80b4d9b2c


updated docs with new lte(30) model.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/80b4d9b2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/80b4d9b2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/80b4d9b2

Branch: refs/heads/master
Commit: 80b4d9b2cf4f621c1c859f3f21c6aba3a1bd6af0
Parents: aebc644
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Fri Apr 24 14:53:39 2015 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Fri Apr 24 14:53:39 2015 -0600

----------------------------------------------------------------------
 docs/src/the-traversal.asciidoc | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/80b4d9b2/docs/src/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-traversal.asciidoc b/docs/src/the-traversal.asciidoc
index 0a0d60b..47ef641 100644
--- a/docs/src/the-traversal.asciidoc
+++ b/docs/src/the-traversal.asciidoc
@@ -222,7 +222,7 @@ The `and()`-step ensures that all provided traversals yield a result (*filter*).
 ----
 g.V().and(
    outE('knows'),
-   values('age').is(lt,30)).
+   values('age').is(lt(30))).
      values('name')
 ----
 
@@ -532,7 +532,7 @@ It is possible to filter vertices, edges, and vertex properties based on their p
 ----
 g.V().hasLabel('person')
 g.V().hasLabel('person').out().has('name',within('vadas','josh'))
-g.V().hasLabel('person').out().has('name',within,['vadas','josh']).
+g.V().hasLabel('person').out().has('name',within('vadas','josh')).
       outE().hasLabel('created')
 g.V().has('age',inside(20,30)).values('age') <1>
 g.V().has('age',outside(20,30)).values('age') <2>
@@ -995,8 +995,6 @@ g.V().until(has('name','ripple')).
 
 IMPORTANT: There are two modulators for `repeat()`: `until()` and `emit()`. If `until()` comes after `repeat()` it is do/while looping. If `until()` comes before `repeat()` it is while/do looping. If `emit()` is placed after `repeat()`, it is evaluated on the traversers leaving the repeat-traversal. If `emit()` is placed before `repeat()`, it is evaluated on the traversers prior to entering the repeat-traversal.
 
-NOTE: The `times(x)` step modulator is an alias for `until{it.loops() >= x}`.
-
 The `repeat()`-step also supports an "emit predicate", where the predicate for an empty argument `emit()` is true (i.e. `emit() == emit{true}`). With `emit()`, the traverser is split in two -- the traverser exits the code block as well as continues back within the code block (assuming `until()` holds true).
 
 [gremlin-groovy,modern]