We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e51c08 commit 184cbc1Copy full SHA for 184cbc1
book/Gremlin-Graph-Guide.adoc
@@ -8751,8 +8751,16 @@ are synonymous in this case.
8751
g.V().filter(values('lat').is(gt(77))).valueMap('city','lat')
8752
----
8753
8754
+As discussed earlier in the book, you can often just use 'has' steps instead of
8755
+'where' or 'filter' steps. We could have written the previous query as follows.
8756
+
8757
+[source,groovy]
8758
+----
8759
+g.V().has('lat',gt(77)).valueMap('city','lat')
8760
8761
8762
It turns out that just two airports in the graph are located that far North as shown
-below in the results from running the query.
8763
+below in the results from running either form of the query.
8764
8765
[source,groovy]
8766
0 commit comments