Thirumal
Thirumal

Reputation: 9666

How to pass multiple id's/values in the gremlin query?

How to pass multiple id's/values in the gremlin query?

g.V().hasNot(T.id, [need_to_pass_multiple_id's]).....

Upvotes: 0

Views: 683

Answers (1)

Thirumal
Thirumal

Reputation: 9666

Found without(). This traversal helps to remove the given id's

g.V().has(T.id, without('id1', 'id2'))

Upvotes: 0

Related Questions