Skip to content

Cypher/GFQL: support WHERE clauses on OPTIONAL MATCH results #1024

Description

@lmeyerov

Summary

After #1021 landed connected MATCH ... OPTIONAL MATCH ... RETURN, queries with WHERE predicates on the OPTIONAL MATCH are still rejected:

MATCH (a)-->(b)
WHERE b:B
OPTIONAL MATCH (a)-->(c)
WHERE c:C
RETURN a.name

Currently rejected because _is_connected_optional_match_query() guards against query.where is not None.

Context

Activity

  1. added 20 commits that reference this issue on Apr 2, 2026
  2. lmeyerov commented on Apr 4, 2026

    @lmeyerov
    ContributorAuthor

    Closed by #1030.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions