Skip to content

Cypher : MATCH (n:NOT_EXISTING_LABEL) return COUNT(n) should not error and just return 0 #3479

@ExtReMLapin

Description

@ExtReMLapin

MATCH (n:NOT_EXISTING_LABEL) return COUNT(n) should not error and just return 0

With neo4j and old cypher engine you can query nodes + count that doesn't exists and it just returns ... nothing

With new engine it just errors:

  • MATCH (n:NOT_EXISTING_LABEL) return n works
  • MATCH (n:NOT_EXISTING_LABEL) return COUNT(n) errors

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions