I have defined a Vertex with a schema and several of the properties of the vertex are of type boolean. I am trying now to query the vertex and filter the results by the boolean value of these properties.
I have tried:
g.V().hasLabel('Patient').has('alcohol_abuse', eq(true))
g.V().hasLabel('Patient').has('alcohol_abuse', true)
g.V().hasLabel('Patient').has('alcohol_abuse', constant(true))
g.V().hasLabel('Patient').has('alcohol_abuse', eq(1))
plus many more variations, none return the correct results
I expect to get the vertices in the Patient vertex with the property alcohol_abuse true.
Thanks