Skip to content

Error accessing property of result of function call #146

Closed

Description

@rtpt-severinschueller

Description

Executing the example query

match p = (a)-[*1..]->(b)
where none(r in relationships(p) where startNode(r).name = 'blocked')
return p

from the Cypher Syntax Support reference fails with the error

expected variable for property lookup atom but received *cypher.FunctionInvocation

The issue seems to be accessing name of the result of the function call startNode(r), the following reduced query results in the same error:

match p = ()-[r]->()
where startNode(r).name = 'blocked'
return p

Versions

Tested in bloodhound 9.8.0 which uses DAWGS 0.9.0

Activity

  1. zinic commented on Oct 28, 2026

    @zinic
    Contributor

    Thanks for the report! I'll be taking a look at this as a wider rework of the PG driver: #125

  2. zinic commented on Nov 11, 2026

    @zinic
    Contributor

    This is validated fixed with the latest merge to main. Once we cut a formal release this will appear in the upcoming versions of BloodHound.

    Thanks again for taking the time to report this :)

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions