Open joseraul opened 3 years ago
So doesntHave
appears to call has
in QueriesRelationships.php. I think if the second match clause was changed to an OPTIONAL MATCH
, it would fix doesntHave
without breaking has
.
So
doesntHave
appears to callhas
in QueriesRelationships.php. I think if the second match clause was changed to anOPTIONAL MATCH
, it would fixdoesntHave
without breakinghas
.
yes. When I modify it, it can work. But where sub-clause don’t work. Because where sub-clause attach in optional match sub-clause not attach in match sub-clause. I want cypher like this: match (n) where … optional match (n)-[]-(m) with n, count(m) as cm where cm<1 return n
but it generate like this: match (n) optional match (n)-[]-(m) where … with n, count(m) as cm where cm<1 return n
Description:
The
doesntHave
method does not work. I guess other variants likewhereDoesntHave
,orWhereDoesntHave
will not work either.Steps To Reproduce:
is generating a query like
It is matching on the Persons Twitter account and then requiring that there is less than one Twitter account...