0

I am looking for all cards where the key has been returned. Closest I have been able to find is the has and hasNot, but hasNot isnt property based.

Trying to get it to be something like this g.V().hasLabel('card').both().DOESNOTHAVE('keyReturned',false)

A hasAll would work as well

HDatom
  • 21
  • 6
  • maybe something like this: `!(g.V().hasLabel('card')).both().DOESNOTHAVE('keyReturned',false)`? I am not familiar with gremlin. Just thinking that it might work :) – Cornel Raiu Jul 22 '19 at 20:23

1 Answers1

0

This is what I came up with

g.V().hasLabel("Location").has("Name", "{location}").out("locatedat").not(out("being used by").has("approved", true).has("keyReturned", false))

HDatom
  • 21
  • 6