Reputation: 228
Gremlin query to return all the vertices which does not have a specific outgoing edge. we have two vertex types which are connected by an edge name" belongs within" now i need to get a vertices which does not have an edge with name "belongswithin"
Upvotes: 1
Views: 48
Reputation: 228
g.V().hasLabel("suburb").filter(__.not(outE("belongswithin"))).count()
Upvotes: 2