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/05/15 22:14:12 UTC
incubator-tinkerpop git commit: removed hasNot() references and
replaced with where(not()).
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master d72666766 -> c901da1f6
removed hasNot() references and replaced with where(not()).
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/c901da1f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/c901da1f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/c901da1f
Branch: refs/heads/master
Commit: c901da1f600769d5fc6dfaab43f5b5e9641a77c7
Parents: d726667
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Fri May 15 14:14:06 2015 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Fri May 15 14:14:06 2015 -0600
----------------------------------------------------------------------
docs/src/the-graph.asciidoc | 2 +-
docs/src/the-traversal.asciidoc | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/c901da1f/docs/src/the-graph.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-graph.asciidoc b/docs/src/the-graph.asciidoc
index aeefbea..3c32f97 100644
--- a/docs/src/the-graph.asciidoc
+++ b/docs/src/the-graph.asciidoc
@@ -125,7 +125,7 @@ image::the-crew-graph.png[width=685]
----
g.V().as('a').
properties('location').as('b').
- hasNot('endTime').as('c').
+ where(not(values('endTime'))).as('c').
select().by('name').by(value).by('startTime') // determine the current location of each person
g.V().has('name','gremlin').inE('uses').
order().by('skill',incr).as('a').
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/c901da1f/docs/src/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-traversal.asciidoc b/docs/src/the-traversal.asciidoc
index aa91a33..daa7e83 100644
--- a/docs/src/the-traversal.asciidoc
+++ b/docs/src/the-traversal.asciidoc
@@ -538,8 +538,7 @@ It is possible to filter vertices, edges, and vertex properties based on their p
* `hasId(ids...)`: Remove the traverser if its element does not have any of the ids.
* `hasKey(keys...)`: Remove the traverser if its property does not have any of the keys.
* `hasValue(values...)`: Remove the traverser if its property does not have any of the values.
- * `has(key)`: Remove the traverser if its element has a value for the key.
- * `hasNot(key)`: Remove the traverser if its element does not have a value for the key.
+ * `has(key)`: Remove the traverser if its element does not have a value for the key.
* `has(key, traversal)`: Remove the traverser if its object does not yield a result through the traversal off the property value.
[gremlin-groovy,modern]