[ 
https://issues.apache.org/jira/browse/TINKERPOP-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369158#comment-16369158
 ] 

Jean-Philippe Braun commented on TINKERPOP-1887:
------------------------------------------------

The correct way of doing this seems to be:

g.V().has('foo', ('b', P.eq(5)))

> Can't use bindings in predicates
> --------------------------------
>
>                 Key: TINKERPOP-1887
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1887
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: python
>    Affects Versions: 3.3.1
>            Reporter: Jean-Philippe Braun
>            Priority: Major
>
> With the lastest version of gremlinpython it is not possible to define a 
> binding in a predicate:
> {code:java}
> g.V().has('foo', lt(('bar', 5))).toList(){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to