You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Daniel Kuppitz (JIRA)" <ji...@apache.org> on 2016/06/08 15:36:21 UTC

[jira] [Created] (TINKERPOP-1330) by()-modulation for where()

Daniel Kuppitz created TINKERPOP-1330:
-----------------------------------------

             Summary: by()-modulation for where()
                 Key: TINKERPOP-1330
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1330
             Project: TinkerPop
          Issue Type: Improvement
          Components: process
    Affects Versions: 3.2.1
            Reporter: Daniel Kuppitz


As discussed in https://issues.apache.org/jira/browse/TINKERPOP-1329, it would be nice to have {{by()}}-modulators for {{where()}}. For example:

{code}
g.V().as("a").out().where(gt("a")).by("age") // both a and current ages are selected
g.V().as("a").out().as("b").where("b",gt("a")).by("age") // both a and b ages are selected
g.V().as("a").out().as("b").where("b",gt("a")).by("age").by("weight") // where b.age > a.weight
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)