You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Jorge Bay (Jira)" <ji...@apache.org> on 2019/09/26 09:58:00 UTC

[jira] [Commented] (TINKERPOP-2301) gremlin-javascript: 'within' predicate does not support more than two parameters?

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

Jorge Bay commented on TINKERPOP-2301:
--------------------------------------

{{within()}} supportsĀ multiple arguments: https://github.com/apache/tinkerpop/blob/master/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/process/traversal.js#L262

Can you provide more info? can you provide a code sample to reproduce it?

> gremlin-javascript: 'within' predicate does not support more than two parameters?
> ---------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-2301
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2301
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: javascript
>            Reporter: Igor Ostapenko
>            Priority: Major
>
> Hi,
> In my case gremlin npm module talks to usual gremlin-server with TinkerGraph in memory. And it looks like 'within' predicate uses only the first two parameters. For example, something like g.V().has('name', within('a', 'b', 'c', 'd')) selects only 'a' and 'b' names. If I understand official Gremlin docs correctly it should support multiple arguments.
> Is it a bug or a misunderstanding?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)